From 70ac5544a9bbab35cef7c164e7d5afb6700a859f Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sat, 1 Nov 2025 22:55:29 -0700 Subject: [PATCH] old syntax --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 17c6f73..e25581d 100644 --- a/README.md +++ b/README.md @@ -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)