[Laszlo-dev] code review request

Frank Guo fguo at laszlosystems.com
Tue Feb 21 01:25:29 PST 2012


Hi Tucker,

I add a property to lps.properties file,
lfc.statefile.generate=false

Since when use lzc -SS to compile files, LPS will generate too many 
state files. Most of them generated from lfc.lzx. But these files are 
almost empty ones, and useless.

So I add this option with default false, so the LPS will only generate 
state files for user source code.

I use LPS.generateMiddle to control whether create state files. After 
compiling the file lfc.lzx, I will set it to true. the code 
Compiler.java is like this:

  schema.compileReferenceClassModels(); // compile lfc.lzx
             LPS.generateMiddle = true;  // begin to create state file

I attach the source code and diff file.

Please review them

thanks

Frank
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.txt
Url: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120221/69be197b/diff-0001.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Compiler.java
Type: text/x-java
Size: 41572 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120221/69be197b/Compiler-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParseTreePrinter.java
Type: text/x-java
Size: 67116 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120221/69be197b/ParseTreePrinter-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LPS.java
Type: text/x-java
Size: 17561 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120221/69be197b/LPS-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Compiler.java
Type: text/x-java
Size: 38634 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120221/69be197b/Compiler-0003.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.java
Type: text/x-java
Size: 19455 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120221/69be197b/Main-0001.bin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lps.properties
Url: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120221/69be197b/lps-0001.pl


More information about the Laszlo-dev mailing list