Start the ELTL translation (LACIM).
Merge all eltlast/ files into formula.hh (except automatop.hh).
This commit is contained in:
parent
862302590c
commit
8c0d1003b0
55 changed files with 2000 additions and 422 deletions
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
set -e
|
||||
cat >prelude <<EOF
|
||||
S=(
|
||||
X=(
|
||||
0 1 \$0
|
||||
= 1
|
||||
accept 1
|
||||
)
|
||||
EOF
|
||||
|
||||
|
|
@ -15,13 +15,26 @@ include prelude
|
|||
A=(
|
||||
0 1 \$2
|
||||
1 2 \$0
|
||||
= 0
|
||||
accept 0
|
||||
)
|
||||
%
|
||||
A(1,a,a|b)&S(1)
|
||||
A(1,a,a|b)&X(f)
|
||||
EOF
|
||||
run 0 ./acc input || exit 1
|
||||
|
||||
cat >input <<EOF
|
||||
X=(
|
||||
0 1 true
|
||||
1 2 \$0
|
||||
accept 2
|
||||
)
|
||||
U=(
|
||||
0 0 \$0
|
||||
0 1 \$1
|
||||
accept 1
|
||||
)
|
||||
EOF
|
||||
|
||||
cat >input <<EOF
|
||||
A=(
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue