Urf!

Feb. 19th, 2004 07:44 am
swestrup: (Default)
[personal profile] swestrup
Well I is going to bed now. I've spent most of the day writing a quick and dirty regular-expression-based lispoid language. At this point I'm still debugging the basic parser. It would be done now except I want to be able to generate semi-meaningful error messages and Perl's regular expression engine is not being terribly helpful. Now I HAVE discovered that Larry Wall once tongue-in-cheek offered to define \e as an escape that matches everything, even stuff '.' doesn't match (like \n) and its counterpart \E would, of course, never match. Today I needed \E.  It turns out that [^\s\S] is a pretty good approximation, so that's currently what I'm using. I do have a lingering fear (based on the RE debug dumps) that the RE engine thinks there are 7 chars that it CAN match it against.

Ah well, worries for another day, let the fraggles play...

January 2017

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 26th, 2025 12:55 pm
Powered by Dreamwidth Studios