sisc -e "(+ 1 2)" doesn't seem to work

Dan <[email protected]>
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Hello,

how is the -e (--eval) command line argument supposed
to be used? sisc -e 1 works as expected (prints result
1 and continues to REPL). sisc -e "(+ 2 1)" gives the
following stack trace in 1.15.2:

Exception in thread "main" java.io.IOException:
unexpected end-of-file.
        at sisc.reader.Parser.potentialError(Unknown
Source)
        at sisc.reader.Parser.readList(Unknown Source)
        at sisc.reader.Parser._nextExpression(Unknown
Source)
        at sisc.reader.Parser.nextExpression(Unknown
Source)
        at sisc.reader.Parser.nextExpression(Unknown
Source)
        at sisc.reader.Parser.nextExpression(Unknown
Source)
        at
sisc.interpreter.Interpreter.evalInput(Unknown Source)
        at sisc.interpreter.Interpreter.eval(Unknown
Source)
        at sisc.REPL.main(Unknown Source)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.