On Tue, Apr 06, 2010 at 12:34:19PM -0700, [email protected] wrote:
> teeemcee
> 2010-04-06 12:34:18 -0700 (Tue, 06 Apr 2010)
> 596
> Wrote a proper lexer for HSpeak - nearly: it still produces strings rather 
> than lexemes since the rest of HSpeak wouldn't know what to do with them.
> 
> ", $, and = are no longer valid characters in identifiers. Unfortunately this 
> was not warned about, although I could have told you this was going to 
> happen. HSpeak disallows any use of $, =, or strings outside of plotstrings 
> and script arguments.
> 
> This is required for script error line number reporting for a very 
> round-about reason. More importantly, it is a big step towards HS4.
> 
> As a bonus, the new lexer is 4 times faster than the old one.
> ---
> U   wip/hspeak.exw
> U   wip/hsspiffy.e
> U   wip/whatsnew.txt

Nice! As for restricting " $ and = in symbols, it was dumb of me to have 
ever allowed those in the first place.


---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to