Template ltlast/ & ltlenv/ classes in internal/ & Add ELTL parser.

This commit is contained in:
Damien Lefortier 2008-03-25 16:52:06 +01:00 committed by Damien Lefortier
parent 21c98c0a01
commit 543190f2bc
74 changed files with 4299 additions and 468 deletions

31
src/eltltest/acc.test Executable file
View file

@ -0,0 +1,31 @@
#!/bin/sh
. ./defs || exit 1
set -e
cat >prelude <<EOF
S=(
0 1 \$0
= 1
)
EOF
cat >input <<EOF
include prelude
A=(
0 1 \$2
1 2 \$0
= 0
)
%
A(1,a,a|b)&S(1)
EOF
run 0 ./acc input || exit 1
cat >input <<EOF
A=(
)
%
1
EOF
run 0 ./acc input || exit 1