From c7ddb8d14eb8585a33fa2a6b8dff3e8b22a83c5c Mon Sep 17 00:00:00 2001 From: dibyendumajumdar Date: Sun, 30 Jan 2022 15:40:42 +0000 Subject: [PATCH] #198 updated docs --- readthedocs/ravi-compiler.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/readthedocs/ravi-compiler.rst b/readthedocs/ravi-compiler.rst index 9b2880eb..addf2641 100644 --- a/readthedocs/ravi-compiler.rst +++ b/readthedocs/ravi-compiler.rst @@ -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) `_ 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 `_. Additional details regarding the new implementation can be found at the `compiler project site `_.