at the moment most code editors are using sets of regexps, and other
difficult stuff to do highlighting and syntax error checking…
i was (naturally) thinking: why?
ruby already contains a nice parser for parsing ruby!
would it be possible to build hooks into the ruby-interpreter for
code-editors?
i was thinking a small interface exposed by a (both c and ruby)
library, that allows other programs (mainly code editors for as far as
i can imagine) to make use of the relatively fast, and standard
compliant ruby parser that is already in ruby…
searching the net i found nothing that does this. yet i might have
searched in the wrong direction.
well, i’m not a good C coder, i tried to look at ruby’s internals to
figure to find out if i could make a patch… but no; i can’t, i got
too dizzy
am i suggesting a small layer over the parse.{c,y} and lex.c, or am
suggesting a much bigger project?
thanks for reading all the way up to the end,
cies breijs.
–
“Computer games don’t affect kids; I mean if Pac-Man affected us as
kids, we’d all be running around in darkened rooms, munching magic
pills and listening to repetitive electronic music.” – Kristian
Wilson (Nintendo, Inc), 1989