About Bhasha...

Bhasha was started as a course project at IIT Kanpur. Today, it has become one of the most detailed compilers for the ASP language.

read more

About the authors
The authors are all students of the Computer Science and Engineering Department at IIT Kanpur. Click to read more about them...

Get Support

Currently there is no automated ticketing system. Kindly send us an email regarding the problem you are facing.
To do this go here.


Get Started

You need to do the following.

  • We haven't tested the compiler with Python 3. So if you encounter any errors, download and install Python 2.7.
  • Make sure python is accessible from your command prompt. To check this, type "python --version" (without the quotes ofcourse) and you should get the version of python you are using (For ex, In my case, I get Python 2.7.1). If you get an error like "python is not recognized...", you need to add the python directory to your path. The simplest way of doing this is the following command:
    PATH=%PATH%;<your python directory>

    In my case, I executed - PATH=%PATH%;C:\Python27;
  • Download the Python PLY library from http://www.dabeaz.com/ply/. Install this by opening a command prompt, navigating to the directory where you unzipped the files (this is the directory which contains setup.py), and executing the following command-
    python setup.py install
  • You are now ready to use BHASHA. Navigate to the BHASHA directory in the command prompt. Use BHASHA as follows-
    python bhasha.py "C:\foo\bar.asp" "C:\foo\bar.php"