diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/ppci/c3/grammar.txt	Thu Mar 13 18:59:06 2014 +0100
@@ -0,0 +1,12 @@
+
+
+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:
+