Skip to content
Snippets Groups Projects
Commit 4f97e266 authored by Lior Spach's avatar Lior Spach
Browse files

c4 - remove old 2

parent 9169f725
No related branches found
No related tags found
No related merge requests found
program:
^ program +(IDENT) *\(input,output\); *$
ident:
([a-zA-Z_][a-zA-Z_1-9]*)
vars:
^ *var +(IDENTS *: *TIPO *;)* *$
idents:
(IDENT)(, *IDENT)*
tipo:
integer
bloco:
^ *begin *$
(EXPR)*
^ *end *$
expr:
*IDENT *\(param\); *
param:
num || ident
op:[+-*/&|^(&&)(||)(^^)]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment