Fixed grammar files.
Regenerated antlr recognizer for the correct grammar.
Added classes for semantic analysis.
Added a test class that provides scripts as strings.