Bison-like source locations in LALR-parser

2014-08-02 Thread Jan Nieuwenhuizen
Hi, I am using these patches to provide Bison-like source locations that we need for error messages and the like. The output of the parser is a plain scheme tree, now transparently annotated with source locations that match the parsed input file. What do you think? Greetings, Jan -- Jan Nieuwe

[PATCH 2/2] LALR-parser: transparent source locations using source-proprerties.

2014-08-02 Thread Jan Nieuwenhuizen
* module/system/base/lalr.upstream.scm (lalr-parser): Add token argument to push. (lr-driver): (___push): Transparently set source location from token using source-properties. --- module/system/base/lalr.upstream.scm | 13 ++--- 1 file changed, 10 insertions

[PATCH 1/2] LALR-parser: provide bison-like location constructs @1 ... @n.

2014-08-02 Thread Jan Nieuwenhuizen
* module/system/base/lalr.upstream.scm (lalr-parser): Provide bison-like positional location constructs: @1 ... @n. (*lalr-scm-version*): Bump to 2.5.0. --- module/system/base/lalr.upstream.scm | 40 1 file changed, 18 insertions(+), 22

updated contact info

2014-08-02 Thread Richard Todd
Hi all, Wy back in 2002 - 2003 timeframe I started the guile-lib project. Life happened and I haven't been active in free/open-source projects since then. But, I'm hoping to get back into some development soon, and I thought I would at least update my contact info (patch for guile-lib attached