git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@232 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Generating the YSmart's Lexer in python using ANTLR

The generated lexer and parser have problems that I have to fix manually. The
lexer seems to work fine now.
Also adding the antlr runtime library for python and a some tests

git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@234 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding the expected XML files for each query.

These files are generated with the older version of YSmart (The version that uses ANTLR/C). I'm adding these files to make sure the ANTLR/python version of YSmart generates exactly the same output.

git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@236 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding a python parser for YSmart

git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@237 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding the new Python parser for YSmart

The new Lexer is YSmartPythonishParser.py and YSMartPytonishLexer are the new lexer and parser. sql2xml calls use them to build the AST and convert it to XML 


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@238 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding the runtime library for Antlr 3.1.3

YSmart uses these modules to parse SQL queries



git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@239 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Changing translate.py to call the new the pythonish parser for YSmart

Note that before calling this, you should add ./ysmart and ./antlr to your $PYTHONPATH



git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@240 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Moving the inner antlr/antlr3 folder to antlr3 to use it as a module.

A better way to use Antlr is to install it in the Python library, which I dont't know how to do know. I'll fix it once I know about python modules.

git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@241 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Making the ysmart folder a package folder

Added the __iniy__.py to ysmart to make python files in this folder importable. This fixes the problem of setting the PYTHONPATH (you do not need to set the python path anymore) but I think I should change setup.py to fix the problem.


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@242 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding the ANTLR grammar file that I used for generating the lexer and the parser.


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@243 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Removing SQL2XML directory form the repository.

This directory was used by the older version YSmart which was using a C parser to translate SQL queries to XML files.


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@244 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Cleaning up the code and adding relative paths to files.

Now you can run YSamrt by running translate.py
You can run testcases with running testysmartparser.py


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@245 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Moving files under the ysmart subdirectory to SQL2XML.

Having a ysmart folder in ysmart is a bit confusing.


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@246 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Moving Antlr related files to SQL2XML.

Now, all files for the fornt end are in the SQL2XML folder


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@247 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Moving the antlr grammar file to the SQL2XML folder



git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@248 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Renaming files in the front end to make their names more clear and intuitive.



git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@249 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding and updating the boilerplate license code
Also updaing the quic_start and system_requirements file


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@250 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Passing over readme.txt to make sure it is consistent with the latest changes in YSmart

and some typo fixes in the file.


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@251 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Ignoring files generated by YSmart 


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@252 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Cleaning up code based on Yuan's feedback


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@253 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0