-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
various fixes to get esc to parse its parser; start at refactoring th…
…e back end --HG-- branch : com.mozilla.es4.smlnj extra : convert_revision : 5a7376fe326ddc38dfedc3ee8101c1a20bb19d7b
- Loading branch information
Showing
20 changed files
with
2,204 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
#./esc.sh tests/self/hello.es | ||
#/work/tamarin/bin/shell tests/self/hello.es.abc | ||
#./esc1.sh tests/self/if.es | ||
#/work/tamarin/bin/shell tests/self/if.es.abc | ||
#./esc.sh tests/self/for.es | ||
#/work/tamarin/bin/shell tests/self/for.es.abc | ||
#./esc.sh tests/self/try.es | ||
#/work/tamarin/bin/shell tests/self/try.es.abc | ||
#./esc.sh tests/self/cls.es | ||
#/work/tamarin/bin/shell tests/self/cls.es.abc | ||
#./esc.sh tests/self/switch.es | ||
#/work/tamarin/bin/shell tests/self/switch.es.abc | ||
./esc.sh tests/self/hello.es | ||
/work/tamarin/bin/shell tests/self/hello.es.abc | ||
./esc1.sh tests/self/if.es | ||
/work/tamarin/bin/shell tests/self/if.es.abc | ||
./esc.sh tests/self/for.es | ||
/work/tamarin/bin/shell tests/self/for.es.abc | ||
./esc.sh tests/self/try.es | ||
/work/tamarin/bin/shell tests/self/try.es.abc | ||
./esc.sh tests/self/cls.es | ||
/work/tamarin/bin/shell tests/self/cls.es.abc | ||
./esc.sh tests/self/switch.es | ||
/work/tamarin/bin/shell tests/self/switch.es.abc | ||
./esc.sh tests/self/switchtype.es | ||
/work/tamarin/bin/shell tests/self/switchtype.es.abc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
cp $1 esc-tmp.es | ||
make run-dumped FILE="tests/self/debug.es tests/self/util.es tests/self/util-es4ri.es tests/self/ast.es tests/self/decoder.es tests/self/encoder.es tests/self/lexer.es tests/self/parser.es tests/self/esc1.es" | ||
make run-dumped FILE="tests/self/debug.es tests/self/util.es tests/self/util-es4ri.es tests/self/ast.es tests/self/decoder.es tests/self/encoder.es tests/self/lex-char.es tests/self/lex-token.es tests/self/lex-scan.es tests/self/parser.es tests/self/esc1.es" | ||
cp esc-tmp.ast $1.1.ast | ||
cp esc-tmp.ast $1.ast | ||
rm esc-tmp.es | ||
rm esc-tmp.ast | ||
rm esc-tmp.ast | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
cp $1.ast esc-tmp.ast | ||
cp $1.ast $1.1.ast | ||
make run-dumped FILE="tests/self/debug.es tests/self/ast.es tests/self/encoder.es tests/self/decoder.es tests/self/lexer.es tests/self/util.es tests/self/parser.es tests/self/util-es4ri.es esc-tmp.ast tests/self/esc2.es" | ||
make run-dumped FILE="tests/self/debug.es tests/self/ast.es tests/self/encoder.es tests/self/decoder.es tests/self/util.es tests/self/util-es4ri.es esc-tmp.ast tests/self/esc2.es" | ||
cp esc-tmp.ast $1.ast | ||
cp esc-tmp.ast $1.2.ast | ||
diff -s $1.1.ast $1.2.ast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export TESTNAME="hello-test" | ||
make run FILE="tests/self/debug.es tests/self/ast.es tests/self/ast_encoder.es tests/self/util.es tests/self/util-es4ri.es tests/self/bytestream.es tests/self/abcfile.es tests/self/assembler.es tests/self/emitter.es tests/self/cogen-stmt.es tests/self/cogen-expr.es tests/self/cogen.es tests/self/cogen_test.es tests/self/cogen-driver.es" | ||
|
||
#Uncomment below lines to run parser tests | ||
#TESTNAME="esc-tmp" | ||
#make run FILE="tests/self/debug.es tests/self/ast.es tests/self/ast_encoder.es tests/self/lexer.es tests/self/parser.es tests/self/util.es tests/self/util-es4ri.es tests/self/bytestream.es tests/self/abcfile.es tests/self/assembler.es tests/self/emitter.es tests/self/cogen-stmt.es tests/self/cogen-expr.es tests/self/cogen.es tests/self/esc-driver.es" | ||
|
||
java -cp c:/hg/my-asc-working/lib/asc.jar macromedia.asc.embedding.Main -d -m $TESTNAME.es | ||
|
||
/cygdrive/c/hg/my-tamarin-central/platform/win32/obj_8/shell/Release_Debugger/avmplus_s.exe $TESTNAME.abc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.