From 469bbcf0701e1eb8a6670c23145b0da87357e178 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 25 Mar 2012 20:00:08 +0000 Subject: Code is all reorganized. We're about ready to release. I should write up a little explenation of the arrangement. --- bnftest.2 | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 bnftest.2 (limited to 'bnftest.2') diff --git a/bnftest.2 b/bnftest.2 deleted file mode 100644 index 229943b..0000000 --- a/bnftest.2 +++ /dev/null @@ -1,24 +0,0 @@ -tokens = tokPlus tokMinus tokMult tokDivide tokOpenParen tokCloseParen - tokEquals tokNumber; - -input: line input# - | - ; - -input#: line input# - | - ; - -line: expr tokEquals {print} - ; - -expr: tokOpenParen expr tokCloseParen expr# - | [tokNumber] expr# - ; - -expr#: tokPlus expr {add} expr# - | tokMinus expr {subtract} expr# - | tokMult expr {multiply} expr# - | tokDivide expr {divide} expr# - | - ; -- cgit v1.2.3