[Laszlo-dev] For Review: Change 37160 Summary: CodeGenerator
in java (finally)
Mika Göckel
mika.goeckel at gmx.de
Tue Jan 17 13:44:29 PST 2006
Great, Tucker!
P T Withington schrieb:
> Change 37160 by ptw at ptw-dev-two on 2006/01/17 13:02:50 *pending*
>
> Summary: CodeGenerator in java (finally)
>
> Bugs Fixed:
> LPP-752 'Port compiler to java' (done!)
>
> Technical Reviewer: hminsky (pending)
> QA Reviewer: frisco (pending)
> Doc Reviewer: jsundman (pending)
>
> Documentation: still builds
>
> Details:
>
> build.xml: remove dependency on CodeGenerator.py
> CodeGenerator.py: delete
> jsdoc2xml: insert scaffolding from CodeGenerator.py
> lzsc: make Resolver callable from java
> CodeGenerator.java: add (lightly tossed from .py with a
> smidgeon of type declarations and casts, and a soupcon of OO
> the hard way)
> Compiler: Simplify imports, remove unused code
> InstructionCollector: rename __call__ to make for legibility
> Instructions: make ActionNames initialization static, add some
> utility functions for boxing ints, protect constructors to
> ensure factory is used, add support for testing for
> unconditional return/branch, remove Python adapters
> VariableReference, MemberReference: __call__ -> make
> Reference: clean up type declarations, add utility boxing
> functions
> Translator: clean up type declarations
> VariableAnalyzer: clean up type declarations
>
> Tests: smokecheck bytes are identical, ant doc works,
> compiling is faster
>
> Affected files ...
>
> ... //depot/lps-dev/WEB-INF/lps/server/build.xml#8 edit
> ... //depot/lps-dev/WEB-INF/lps/server/sc/CodeGenerator.py#7 delete
> ... //depot/lps-dev/WEB-INF/lps/server/sc/jsdoc2xml.py#4 edit
> ... //depot/lps-dev/WEB-INF/lps/server/sc/lzsc.py#8 edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java#1
> add
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java#4
> edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/InstructionCollector.java#9
> edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/Instructions.java#12
> edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/MemberReference.java#1
> edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/Reference.java#3
> edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/Translator.java#2
> edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/VariableAnalyzer.java#1
> edit
> ...
> //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/sc/VariableReference.java#2
> edit
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
--
cyber:con gmbh
Mika Göckel
Rathausallee 10
53757 Sankt Augustin
tel (+49)2241 / 9350 0
fax (+49)2241 / 9350 99
mob (+49) 172 / 279 2771
skype mika.goeckel
email mika at cybercon.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openlaszlo.org/pipermail/laszlo-dev/attachments/20060117/baf3770b/attachment.html
More information about the Laszlo-dev
mailing list