[gambit-list] Line numbers in custom reader

Marc Feeley feeley at iro.umontreal.ca
Sat Jul 27 22:36:50 EDT 2013


Please see this message:

https://mercure.iro.umontreal.ca/pipermail/gambit-list/2013-June/006774.html

Marc

On 2013-07-27, at 4:26 PM, Hendrik Boom <hendrik at topoi.pooq.com> wrote:

> So I'm writing a custom parser so that I can read in code written in 
> another language and translate it into Gambit (of course, not to textual 
> S-expression, but consing together a data structure to feed to the Gambit 
> interpreter or compiler).
> 
> How to I attach line numbers to the consed code so that the interpreter 
> will be able to write line numbers from the original source code in error 
> messages?
> 
> -- hendrik
> 
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list