view python/ppci/c3/grammar.txt @ 396:fb3c1f029b30

Added baselexer into c3 lexer
author Windel Bouwman
date Tue, 27 May 2014 22:19:32 +0200
parents 5477e499b039
children
line wrap: on
line source



stmt: if_stmt | while_stmt | for_stmt | assign_stmt | compound_stmt

compound_stmt: '{' stmt ';' stmt ... '}'
if_stmt: 'if' '(' cond ')' stmt
assign_stmt: lhs '=' expr

cond:

expr: