Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IDENT ::= [A-Za-z`~!@$%^&*_-+=|:/?.><][A-Za-z0-9`~!@$%^&*_-+=|:/?.><]*
- sep ::= '\r' '\n' | '\n'
- expressions ::= expression+
- expression ::= call | string_lit | number_lit | sep
- argument_list ::= expression [ ',' expressions ]*
- call ::= IDENT? ( '(' argument_list? ')' )?
- string_lit ::= '"' ( ANY - '"' ) '"'
- sci_notation ::= 'e' ( '+' | '-' )? [0-9]+
- hex_lit ::= '0' 'x' [0-9A-Fa-f]+ sci_notation?
- number_lit ::= ('0' | [1-9]) [0-9]* sci_notation? | ( '0' | [1-9]) [0-9]* '.' [0-9]* sci_notation? | ( '0' | [1-9] ) [0-9]*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement