commit 47cb588d954e66bf1b292d9ae4fea1e44d1ba541 parent e376773f930763fccc6aa8a5ccdb3419ac9d3e49 Author: thing1 <l.standen@posteo.com> Date: Sun, 5 Oct 2025 21:24:26 +0100 fixed mistakes Diffstat:
| M | spec.md | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/spec.md b/spec.md @@ -25,14 +25,14 @@ The syntax for the language can be defined in the following BNF notation decs ::= dec ||= dec decs - dec ::= type NAME = value ';' + dec ::= type NAME '=' value ';' type ::= "byte" ||= "short" ||= "long" ||= type '*' - value ::= "func(" args ')' '{' exprs '}' + value ::= "func" '(' args ')' '{' exprs '}' ||= expr args ::= arg