it would be cool to have an interpreter with a table-driven lexical
analyzer built in (perhaps the guts of flex could be incorporated).
the tables could be generated off-line by running flex or on-line by
scheme code.
Checkout one of Henry Bakers papers
ftp.netcom.com pub/hbaker Prag-Parse.ps.Z
Which describe a compact way of doing parsing. You could get it to
generate the best STk code, or possibly use the idea to generate simple C
code for you. I can send you a Lisp version of the code, it is one page.
It should translate into a STk macro directly.
k
Received on Fri Apr 28 1995 - 22:13:49 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST