[Laszlo-dev] For Review: Change 20081117-hqm-H Summary: refactor swf9 compilation to prepare for loadable libraries
P T Withington
ptw at laszlosystems.com
Mon Nov 17 14:40:45 PST 2008
If Don approves, I approve. "Shlibopt, Shlibopt": Isn't that a Cyndi
Lauper song?
On 2008-11-17, at 17:06EST, Henry Minsky wrote:
> Change 20081117-hqm-H by hqm at badtzmaru.home on 2008-11-17 16:58:08 EST
> in /Users/hqm/openlaszlo/trunk4
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: refactor swf9 compilation to prepare for loadable libraries
>
> New Features:
>
> Bugs Fixed: LPP-7184
>
> Technical Reviewer: dda
> QA Reviewer: ptw
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
>
> + make SWF9Writer pass in boilerplate swf9 application code to the
> script compiler
>
> This will allow SWF9Writer to generate an "application" skeleton class
> for each <import> module, which will copy all the exported classes
> from the module into the lz namespace object in the main app.
>
> + define a version of LzLibary in SWF9 kernel, not yet working, just
> a placeholder
>
> + start adding code to class compiler to keep a list of which
> classes are defined in
> a compilation environment, and what their tag names are, so that
> these can be
> explicitly copied from <import> apps into the main app
>
>
> loadable modules don't work yet, this is just getting the substrate
> ready
>
>
> Tests:
>
> + swf9 LFC and debug-LFC compiles in swf9, via ant and buildlfc,
> buildlfcdebug
>
> + test/smoke/smokecheck in swf8 and swf9 still work
>
> + debug evaluator still able compile statements and expressions on
> the server in swf9
>
>
>
>
> Files:
> M WEB-INF/lps/lfc/kernel/swf9/Library.lzs
> A WEB-INF/lps/lfc/kernel/swf9/LzLibrary.as
> M WEB-INF/lps/lfc/kernel/Library.lzs
> M WEB-INF/lps/lfc/buildlfc
> M WEB-INF/lps/lfc/buildlfcdebug
> M WEB-INF/lps/lfc/build.xml
> M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java
> M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
> M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
> M WEB-INF/lps/server/src/org/openlaszlo/sc/lzsc.java
> M WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/
> ObjectWriter.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/
> CompilationEnvironment.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/
> ImportCompiler.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java
>
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081117-hqm-H.tar
More information about the Laszlo-dev
mailing list