[Laszlo-dev] For Review: Change 20071212-dda-n Summary: SWF9 changes to get LzNode to build
Donald Anderson
dda at ddanderson.com
Wed Dec 12 13:55:47 PST 2007
Change 20071212-dda-n by dda at freddie.local on 2007-12-12 16:28:59 EST
in /Users/dda/laszlo/src/svn/openlaszlo/branches/devildog
for http://svn.openlaszlo.org/openlaszlo/branches/devildog
Summary: SWF9 changes to get LzNode to build
New Features: none
Bugs Fixed: LPP-5234
Technical Reviewer: ptw (pending)
QA Reviewer: hminsky (pending)
Doc Reviewer: (pending)
Documentation: none
Release Notes: none
Details:
Changes to get buildlfc (using just LzNode) to complete:
+ program variables -- those vars that are declared outside
of any method or class, are now treated as globals, going
into their own file. Since some names use $ (like $swf9),
they must be in file $varname.as, and we now take care to show
these
on debug output as \$varname.as on Unix to make it easier to cut
and paste. We do not do this escape for the command line handed
to the system, I don't believe this is necessary.
+ with the new handling of program variables, removed the implicit
'with (lzApplicationInstance)' that was being inserted.
+ more debugging - each /tmp/lzswf9/* directory now has three new
debug
files: source.txt, program.txt, progdump.txt showing various views
of the program at different stages of processing. This is very
helpful for debugging. At the current time, they are conditional
on a DEBUG_OUTPUT variable in SWF9Generator, this will probably
change
to a command line option.
+ added -debug=true option to compile command line, this is also
controlled
by a class variable, and should be a command line option
eventually.
Tests:
Only running buildlfc in devildog
Files:
M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/CommonGenerator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/Translator.java
M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/parser/
ASTIdentifier.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071212-dda-
n.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: dda at ddanderson.com
WWW: http://www.ddanderson.com
More information about the Laszlo-dev
mailing list