#lisp - Wed 28 Feb 2007 between 00:14 and 02:07

NY Lost Funds



nowhere_manisn't there a parsing library that will write the lexer AND the parser according to a grammar?
jengcl-yacc
nowhere_manwhy does the "complete example" in the manual only provides a parser that needs a lexer?
it made me think you have to provide the lexer yourself...
nyefHrm... "operation not permitted"...
At least it didn't bring down my lisp session or the entire machine...
jengnowhere_man: Yeah you have to provider a lexer. They give an example of a list-lexer.
nowhere_manis there a way to get a lexer and a parser from an EBNF grammar?
jenghttp://www.cliki.net/RegEx-CLAWK-Lexer
I have never used these ymmv
nyefHrm... And same thing as root, implying that it's not a simple permission problem...
nowhere_manjeng: in fact, I may be able to use a lexer that just take chars from a string/stream, and define my grammar on them... I'll see
jengI have one written that works provides a single look ahead.
A reader that is
http://www.jeremyenglish.org/packs/closure-reader.lisp
Might give you some ideas
Here is a simple use of it: http://www.jeremyenglish.org/packs/infix-sexp.lisp
nowhere_manjeng: maybe I missed something, but why is define-reader a macro?
nyefDoes "Inappropriate IOCTL for device" mean I botched the IOCTL number, or something more insidious?
nowhere_manjeng: I missed something... :-)
nyef(Botched IOCTL number, typo.)
lisppastenyef pasted "Lispy USB goodness" at http://paste.lisp.org/display/37505
_deepfirenyef, movitz-targeted?
oh, i see
i have some parport poking code, which detects epp/ps2-tristate
oh, and ecr
nyef_deepfire: Linux targeted.
Hrm... Can't call vector-sap on something with a fill-pointer...
... how did I do this last time?
clhs with-simple-restart
specbothttp://www.lispworks.com/reference/HyperSpec/Body/m_w_smp_.htm
_deepfirewhat is it with annotability of the CLIM spec at http://www.stud.uni-karlsruhe.de/~unk6/clim-spec/ ?
hefnerit doesn't work, use http://bauhh.dyndns.org:8000/clim-spec/index.html instead
nyefclim define-command
specbothttp://bauhh.dyndns.org:8000/clim-spec/27-1.html#_1380
nyefEven minion directs to the working one.
hefnerthat one is harder to find in google
nyefHrm... I'm doing something wrong, and I know it, but I don't know quite -what-...
(And it's definately my fault for messing with the condition system at 1AM.)
hefnerhmm. on my n800, planet lisp becomes "PLANET LI"

Page: 2 9 16 23 30 

IrcArchive

NY Lost Funds