forked from ground/cground
Add add instruction to compiler
This commit is contained in:
11
README.md
11
README.md
@@ -98,3 +98,14 @@ Commands:
|
||||
* eval (code): Runs Ground code in the current scope
|
||||
* help: Shows a help message
|
||||
|
||||
## Compiler
|
||||
|
||||
CGround now includes an experimental Ground -> x86_64 Linux ASM compiler. You can try it by adding the `-c` flag when running Ground. This will print the generated ASM to the console.
|
||||
|
||||
At present only the `int` data type is supported.
|
||||
|
||||
Supported instructions so far:
|
||||
|
||||
* set
|
||||
* add
|
||||
* end
|
||||
|
||||
Reference in New Issue
Block a user