Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 209 Bytes

grammar.md

File metadata and controls

18 lines (9 loc) · 209 Bytes

S -> expr

expr -> func | num | str | keyword | ident

func -> (expr expr {expr})

num -> digit {digit} [. digit {digit}]

str -> "{char}"

keyword -> define

ident -> {char}

digit -> 0-9

char -> a-z | A-Z