old syntax
This commit is contained in:
parent
7756306e1d
commit
70ac5544a9
|
|
@ -12,7 +12,7 @@ Go to http://localhost:3000 to try out the playground.
|
||||||
tail log.txt lines=50
|
tail log.txt lines=50
|
||||||
|
|
||||||
name = "Shrimp"
|
name = "Shrimp"
|
||||||
greet = fn person: echo "Hello" person
|
greet = do person: echo "Hello" person
|
||||||
|
|
||||||
result = tail log.txt lines=10
|
result = tail log.txt lines=10
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@ Go to http://localhost:3000 to try out the playground.
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
**parser/** - Lezer grammar and tokenizers that parse Shrimp code into syntax trees
|
**parser/** - Lezer grammar and tokenizers that parse Shrimp code into syntax trees
|
||||||
**editor/** - CodeMirror integration with syntax highlighting and language support
|
**editor/** - CodeMirror integration with syntax highlighting and language support
|
||||||
**compiler/** - Transforms syntax trees into ReefVM bytecode for execution
|
**compiler/** - Transforms syntax trees into ReefVM bytecode for execution
|
||||||
|
|
||||||
The flow: Shrimp source → parser (CST) → compiler (bytecode) → ReefVM (execution)
|
The flow: Shrimp source → parser (CST) → compiler (bytecode) → ReefVM (execution)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user