I will be using petit parser at some point. Im currently doing it by hand to learn smalltalk and to get used to the requirements and all the things that come up. I think when I have a good grip on these I can move on to PetitParser. I made sure no weird characters are there but still doesn't work. Attached is the whole thing. -----Original Message----- From: pharo-users-bounces@lists.gforge.inria.fr [mailto:pharo-users-bounces@lists.gforge.inria.fr] On Behalf Of stephane ducasse Sent: Saturday, March 23, 2013 2:51 PM To: A friendly place where any question about pharo is welcome Subject: Re: [Pharo-users] Method Calling Inside Nested Blocks the following in syntactically valid. May be you pasted a strange character in your method.
anythingElseBoolean = false ifFalse: [ doctypeString := reader next: 6. doctypeString asLowercase = 'public' ifTrue: [ AfterDOCTYPEPublicKeywordState value: currentCharacter ] ]
Now I think that building a HTML parser by hand in 2012 is a strange exercise when there are compiler compiler or cool framework for parsing like PetitParser. Stef