annotate python/ppci/c3/grammar.txt @ 362:c05ab629976a

Added CPUID for arm
author Windel Bouwman
date Sat, 15 Mar 2014 10:56:34 +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