[plt-scheme] displaying errors in custom language levels
> I, for one, am not able to guess what's going wrong from what you write
> below. But if you can produce a simple tool or perhaps produce a small
> example just using `eval' in the graphical language, I may be able to
> spot what's going wrong.
Okay, I've attached a few files that go in a collect called
`little-lang' -- put it in a PLTCOLLECTS-enabled directory and run
setup-plt. Then restart DrScheme and select the "A Little Language"
language.
> For general edification, DrScheme's red arrows and stacktrace in the bug
> icon window in the debugging languages work by using the errortrace
> annotations. In the non-debugging languages, they work by extracting the
> information that mzscheme records for the stack traces (see the mz
> manual for those details).
Okay, I'll try to digest the errortrace docs next, thanks.
> Are you talking about those errors or some other kind of errors? Syntax
> errors, perhaps? Those work by extracting fields from the exn records.
These are the errors I'm talking about: not syntax errors, but runtime
errors. For example, in the attached language, try executing the expression:
> (42 fun x.x)
You'll get a runtime error with no source highlighting or red arrows.
Thanks for the help,
Dave
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tool.ss
URL: <http://lists.racket-lang.org/users/archive/attachments/20060126/6f7969e5/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: info.ss
URL: <http://lists.racket-lang.org/users/archive/attachments/20060126/6f7969e5/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compile.ss
URL: <http://lists.racket-lang.org/users/archive/attachments/20060126/6f7969e5/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: runtime.ss
URL: <http://lists.racket-lang.org/users/archive/attachments/20060126/6f7969e5/attachment-0003.ksh>