?

Log in

No account? Create an account
penrose orange

stephenw32768


/var/log/stephen

cat /var/log/stephen >/dev/eyes


One deterministic finite-state machine, please
penrose orange
stephenw32768
My current little project at work is to write a parser for a simple query language. It's more complicated than it initially seems because it's rather free-form; strings are not delimited with quote marks, for example. It's a bit too complex for ad-hoc string parsing, so I'm using ANTLR to write a lexical scanner and parser. The automata class taught by Dr. Beynon at university is all coming flooding back.

It's a bit broken at the moment because of an ambiguity in the grammar. I think I sussed out what's wrong with it on my way home; ain't it always the way?

No snow today, but lots of rain. So very much rain.