Creating SISC IDE

"Dan Edmunds" <[email protected]> Thu, 21 Feb 2008 14:13:20 -0500
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Hi,

I'm trying to create a Scheme IDE using SISC as my interpreter.
At the moment I plan to hold hold a reference to the
sisc.interpreter.Interpreter class and feeding the scheme source files into
it.

I'm looking to use the Interpreter.evalInput (
http://sisc-scheme.org/manual/javadoc/sisc/interpreter/Interpreter.html#evalInput(java.io.PushbackReader))
method to "compile" the scheme files to see if they contain errors. I
want
to get the line number and character offset that the error occurred at.

I know that SchemeException contains this information.
http://osdir.com/ml/java.sisc.user/2007/msg00022.html

The problem is that some errors occur as IOExceptions. As far as I can tell
these are syntax errors.
Is there a way to get at the information I'm looking for when this occurs?

Should I be using a different class to accomplish what I'm trying to do?
I've taken a quick look at Compiler and Parser but I'm not quite sure how to
use them since there's very little documentation on them.

Thanks,
Dan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Sisc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisc-users