diff options
author | Melody Horn <melody@boringcactus.com> | 2020-11-02 12:27:17 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-11-02 12:27:17 -0700 |
commit | 83e23b6b449112f4a85d09c57e5601faa87856ca (patch) | |
tree | 543e4821f276055a6de591287964f51af42a1306 /syntax.md | |
parent | 8b9abf740a41e8feb7db7638ce27f7cecc16d633 (diff) | |
download | spec-83e23b6b449112f4a85d09c57e5601faa87856ca.tar.gz spec-83e23b6b449112f4a85d09c57e5601faa87856ca.zip |
add function declarations
Diffstat (limited to 'syntax.md')
-rw-r--r-- | syntax.md | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1,15 +1,5 @@ # Syntax (old) -### Top-level elements - -```PEG -FunctionDeclaration ← FunctionSignature ';' -FunctionDefinition ← FunctionSignature Block -FunctionSignature ← Type identifier '(' SignatureArguments? ')' -SignatureArguments ← Type identifier ',' SignatureArguments / - Type identifier ','? -``` - ### Statements ```PEG |