add: main function
This commit is contained in:
@@ -77,3 +77,7 @@ cargo run --release -- -o main hello.rpg
|
||||
## Implementation
|
||||
|
||||
The RPG language was converted to an BNF, and fed into the bnf crate (https://docs.rs/bnf/latest/bnf/).
|
||||
|
||||
The parse tree generated here is then given to LLVM, via Inkwell (https://crates.io/crates/inkwell) to create executable binaries.
|
||||
|
||||
The binary can run standalone on a Linux system. Only the built-in function make hello world are implemented, and link to functions writen in Rust that are available as a shared library.
|
||||
|
||||
Reference in New Issue
Block a user