Template ltlast/ & ltlenv/ classes in internal/ & Add ELTL parser.
This commit is contained in:
parent
21c98c0a01
commit
543190f2bc
74 changed files with 4299 additions and 468 deletions
31
src/eltltest/acc.test
Executable file
31
src/eltltest/acc.test
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue