annotate python/ppci/c3/grammar.txt @ 354:5477e499b039

Added some sort of string functionality
author Windel Bouwman
date Thu, 13 Mar 2014 18:59:06 +0100
parents
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