annotate python/ppci/c3/grammar.txt @ 366:39bf68bf1891

Fix sample tests and deterministic build
author Windel Bouwman
date Fri, 21 Mar 2014 09:43:01 +0100
parents 5477e499b039
children
rev   line source
354
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
1
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
2
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
3 stmt: if_stmt | while_stmt | for_stmt | assign_stmt | compound_stmt
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
4
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
5 compound_stmt: '{' stmt ';' stmt ... '}'
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
6 if_stmt: 'if' '(' cond ')' stmt
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
7 assign_stmt: lhs '=' expr
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
8
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
9 cond:
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
10
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
11 expr:
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents:
diff changeset
12