Skip to content

Commit

Permalink
#198 updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed Jan 30, 2022
1 parent 7491daf commit c7ddb8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readthedocs/ravi-compiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The new compiler differs from the standard Lua/Ravi compiler in following ways:
* Unlike the standard compiler, the new compiler generates Abstract Syntax Trees (ASTs) in the parsing phase.
* A `new linear Intermediate Representation (IR) <https://github.com/dibyendumajumdar/ravi-compiler/blob/master/docs/linear-ir.md>`_ is produced from the AST.
* Finally the IR is translated to C code, which can be JITed using the MIR backend or compiled ahead-of-time using a standard C compiler such as gcc, clang or MSVC.
* Since the compiler generates C intermediate code, it is possible to embed snippets of C code via special language extensions. For details see `Embedding C <https://github.com/dibyendumajumdar/ravi-compiler/wiki/Embedding-C>`_.

Additional details regarding the new implementation can be found at the `compiler project site <https://github.com/dibyendumajumdar/ravi-compiler>`_.

Expand Down

0 comments on commit c7ddb8d

Please sign in to comment.