view python/ppci/c3/grammar.txt @ 393:6ae782a085e0

Added init program
author Windel Bouwman
date Sat, 17 May 2014 21:17:40 +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: