summaryrefslogtreecommitdiffstats
path: root/taccle/examples/simple_grammar.tac
diff options
context:
space:
mode:
Diffstat (limited to 'taccle/examples/simple_grammar.tac')
-rwxr-xr-xtaccle/examples/simple_grammar.tac27
1 files changed, 0 insertions, 27 deletions
diff --git a/taccle/examples/simple_grammar.tac b/taccle/examples/simple_grammar.tac
deleted file mode 100755
index ea354d9..0000000
--- a/taccle/examples/simple_grammar.tac
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: simple_grammar.tac,v 1.1 2004/08/18 23:53:43 tang Exp $
-
-%{
-
-source simple_scanner.tcl
-
-%}
-
-%token ID
-
-%%
-
-E: E '+' T
- | T
- ;
-
-T: T '*' F
- | F
- ;
-
-F: '(' E ')'
- | ID
- ;
-
-%%
-
-yyparse