old syntax

This commit is contained in:
Chris Wanstrath 2025-11-01 22:55:29 -07:00 committed by Chris Wanstrath
parent a161679903
commit 32c47cfd24

View File

@ -12,7 +12,7 @@ Go to http://localhost:3000 to try out the playground.
tail log.txt lines=50
name = "Shrimp"
greet = fn person: echo "Hello" person
greet = do person: echo "Hello" person
result = tail log.txt lines=10
@ -33,7 +33,7 @@ Go to http://localhost:3000 to try out the playground.
## Architecture
**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
The flow: Shrimp source → parser (CST) → compiler (bytecode) → ReefVM (execution)