Designing high level language and it's run-time
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ExampleCode
EvalTree.java
README.md
TinyPyC.g4
TinyPyC.tokens
TinyPyCAntlrCompiler.jar
TinyPyCBaseListener.java
TinyPyCBaseVisitor.java
TinyPyCCompiler.java
TinyPyCInterpreter.py
TinyPyCLexer.java
TinyPyCLexer.tokens
TinyPyCListener.java
TinyPyCParser.java
TinyPyCVisitor.java

README.md

Compiler

Language: TinyPyC Designing high level language and it's run-time

This project deals with designing high level language which uses concepts of well known languages like Python and C. Antlr is used for compiling the source code and generating intermediate code. Run-time is written in Python.

File for High-Level code has extension .hpc and intermediate code has extension .bpc

Examples to Compile and run-programs:

1 ) java -jar TinyPyCAntlrCompiler.jar RecursionFactorial.hpc

  1. python TinyPyCInterpreter.py RecursionFactorial.bpc

PS: We have shared few examples programs in ExampleCode folder.