aboutsummaryrefslogtreecommitdiff
path: root/demos/sample-files/calc.g
diff options
context:
space:
mode:
authorkartofen <kartofen.mail.0@protonmail.com>2025-09-13 15:24:28 +0300
committerkartofen <kartofen.mail.0@protonmail.com>2025-09-13 15:24:28 +0300
commitdb1b9c8dcb0d115217a33c2fe8e0760d49143e11 (patch)
treec93743adff3d78ea066c14879b7d2bfeb3ce42fb /demos/sample-files/calc.g
parent46e786db9d1b48b8fbc3502e36f093b755f3e09f (diff)
ast nearly build and proper errors
Diffstat (limited to 'demos/sample-files/calc.g')
-rw-r--r--demos/sample-files/calc.g2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/sample-files/calc.g b/demos/sample-files/calc.g
index 804e072..aa5b5db 100644
--- a/demos/sample-files/calc.g
+++ b/demos/sample-files/calc.g
@@ -3,6 +3,8 @@
-nonterminal EP E.
+-stacktype { int }.
+
-left LPAREN;
-left 5;
-left TIMES;