SmaCC ?

Keith Hodges Keith.Hodges at warwick.ac.uk
Sat Jun 3 02:01:09 UTC 2006


Can anyone help me to work out why this is not working.

Scanner:

<anyLetter> : [A-Z a-z _ 0-9] ;
<upperLetter>: [A-Z] ;
<lowerLetter> : [a-z_0-9] ;

Parser:

Test : <upperLetter>+ <lowerLetter>+ <upperLetter> <anyLetter> ;

Test String:
HelloWorld

I was expecting the parser to at least get past the 'o' in world.

many thanks in advance

Keith

Send instant messages to your online friends http://uk.messenger.yahoo.com 



More information about the Squeak-dev mailing list