StackOverflow> uhg, another site to logon to.
> XML -> Sexp
my only experience was
Inform -> HTML (I chose CL
before I knew of Qi)
With no yacc (lexer) experience, I had a vague idea *
I was going to be writing a Recursive Decent Parser.
SO> using a CFG is a bad idea...
...that was parsing XML in C?
BUT you said the XML spec has an EBNF...
AND you are using (Qi-)YACC
It will be interesting, because you are
going from XML (Sexp) to Sexp.
not Sexp to non-Sexp.
Stefan> Keep state in a Global...
I had Keywords, and Objects (standard and defined)
in a closure, with key-or-obj-p add-obj functions.
Later I looked up the exact type of RDP,
which I forget, the one with peek ahead.
* - previously I would say - I have never
written a parser, interpreter, compiler, etc...
I was interested in Qi as
a Pattern matcher / Prolog.
On Sep 4, 3:34 pm, Daniel Jomphe <danieljom...@gmail.com> wrote:
> I've just asked my first Qi programming question on StackOverflow. I
> don't see why such kind of questions should be answered on any mailing
> list when there's much better services out there for Q&A purposes.
> Although my question is more Qi-YACC-related than Qi-related, it's
> still the first question tagged "Qi" on the site.
> http://stackoverflow.com/questions/1381124/implementing-a-xml-compile...
> That said, although it's the first question tagged "Qi", it's not the
> first time Qi is mentioned on StackOverflow.
> Non-disclosure: I'm only related to StackOverflow as being a very
> impressed user of the site.