Sun Microsystems Laboratories Experimental Stuff [Fortress-interest] trouble reading preparsed library AST (cygwin install worked... sort of)

[Fortress-interest] trouble reading preparsed library AST (cygwin install worked... sort of)

Eric Lavigne lavigne.eric@gmail.com
Mon, 15 Jan 2007 17:48:47 -0500


Side note: I finished the installation on Cygwin with Mark Breuer's
help. Some colons needed to be changed to colons, both in ./ant and
./fortress.


After compiling fortress on Cygwin, I tried running the helloworld script:

$ ./fortress hello.fss
Parsing hello.fss with the Rats! parser: 203 milliseconds
Missing or stale preparsed AST, rebuilding from source
Parsed C:\cygwin\home\Eric\ProjectFortress\FortressLibrary.fss: 562 milliseconds

Hello, World!
finish runProgram
938 milliseconds

The result is different if I run the same script again (although I can
get back to the original behavior by deleting FortressLibrary.jst):

$ ./fortress hello.fss
Parsing hello.fss with the Rats! parser: 203 milliseconds
Parse of C:\cygwin\home\Eric\ProjectFortress\FortressLibrary.jst ended
EARLY at line = 1,  column = 18
Trouble reading preparsed library AST.
java.io.IOException: Near line 1 and column 17 got Backslash escape c(hex 63)
        at com.sun.fortress.interpreter.reader.Lex.unexpected(Lex.java:295)
        at com.sun.fortress.interpreter.reader.Lex.readQuoted(Lex.java:261)
        at com.sun.fortress.interpreter.reader.Lex.name(Lex.java:210)
        at com.sun.fortress.interpreter.nodes.Unprinter.readSpan(Unprinter.java:121)
        at com.sun.fortress.interpreter.nodes.Unprinter.readNode(Unprinter.java:228)
        at com.sun.fortress.interpreter.drivers.Driver.readJavaAst(Driver.java:85)
        at com.sun.fortress.interpreter.drivers.Driver.readJavaAst(Driver.java:69)
        at com.sun.fortress.interpreter.drivers.Libraries.link(Libraries.java:69)
        at com.sun.fortress.interpreter.drivers.Driver.evalComponent(Driver.java:214)
        at com.sun.fortress.interpreter.drivers.Driver.runProgramTask(Driver.java:227)
        at com.sun.fortress.interpreter.drivers.Driver$EvaluatorTask.run(Driver.java:274)
        at EDU.oswego.cs.dl.util.concurrent.FJTask.invoke(Unknown Source)
        at EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup$InvokableFJTask.run(Unknown
Source)
        at EDU.oswego.cs.dl.util.concurrent.FJTaskRunner.scanWhileIdling(Unknown
Source)
        at EDU.oswego.cs.dl.util.concurrent.FJTaskRunner.run(Unknown Source)
com.sun.fortress.interpreter.evaluator.ProgramError: Missing value
_builtinFactory1
        at com.sun.fortress.interpreter.evaluator.CommonEnv.getValue(CommonEnv.java:65)
        at com.sun.fortress.interpreter.glue.Glue.instantiateGenericConstructor(Glue.java:165)
        at com.sun.fortress.interpreter.evaluator.values.NonPrimitive.buildEnvFromParams(NonPrimitive.java:180)
        at com.sun.fortress.interpreter.evaluator.values.NonPrimitive.buildEnvFromParams(NonPrimitive.java:149)
        at com.sun.fortress.interpreter.evaluator.values.Closure.applyInner(Closure.java:131)
        at com.sun.fortress.interpreter.evaluator.values.Fcn.apply(Fcn.java:44)
        at com.sun.fortress.interpreter.drivers.Driver.runProgramTask(Driver.java:243)
        at com.sun.fortress.interpreter.drivers.Driver$EvaluatorTask.run(Driver.java:274)
        at EDU.oswego.cs.dl.util.concurrent.FJTask.invoke(Unknown Source)
        at EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup$InvokableFJTask.run(Unknown
Source)
        at EDU.oswego.cs.dl.util.concurrent.FJTaskRunner.scanWhileIdling(Unknown
Source)
        at EDU.oswego.cs.dl.util.concurrent.FJTaskRunner.run(Unknown Source)

--------Fortress error appears below--------


Missing value _builtinFactory1


This page is: http://www.experimentalstuff.com/pipermail/fortress-interest/2007-January/000075.html
Last Modified: Wed, 17 Jan 2007 14:15:02 GMT
copyright (c) 2000-2009, Sun Microsystems