[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some more elisp aspects: Reader and documentation

From: Daniel Kraft
Subject: Re: Some more elisp aspects: Reader and documentation
Date: Mon, 17 Aug 2009 14:07:10 +0200
User-agent: Thunderbird (X11/20070425)

Hi Ludo,

Ludovic Courtès wrote:
Sorry for the late reply.

no problem, thanks for the reply! I had a lot of other stuff to do anyways, and so didn't really get into the situation of waiting for a reply here ;)

2) Write a seperate elisp reader, possibly in Scheme (but could be C
as well if that's important for performance).  This helps us keep
"both" readers clean and seperate, but all has to be done from ground
up and the code is probably slower (when written in Scheme).

This sounds like the best option to me.  You could use SILex to build
the lexer ( and `(text parse-lalr)'
for the parser.

Hm, ok, I'll look into those. On the other hand I guess that Lisp has such a simple syntax that hand-writing some recursive-descent parser may be an equally good option? Well, I'll simply give it a try!

But it seems that the LALR parser generator is part of guile-lib, and will introduce that as a new dependency for Guile; do you think that's ok? (Haven't checked how SILex works and if it may introduce dependencies.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]