Skip to content

Files

Latest commit

90d7ed5 · Sep 5, 2023

History

History
14 lines (9 loc) · 380 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 380 Bytes

git status

EBNF: EXPRESSION = TERM, { ("+" | "-"), TERM } ; TERM = FACTOR, { ("*" | "/"), FACTOR } ; FACTOR = ("+" | "-") FACTOR | "(" EXPRESSION ")" | number ;

Obs: Since we consider every number a integer, we can abstract NUMER as: NUMBER = DIGIT, {DIGIT} ; DIGIT = 0 | 1 | ... | 9 ;

alt text