[OT] Writing a parser for BASIC in Smalltalk/Squeak ?

ducasse ducasse at iam.unibe.ch
Thu Jan 3 20:43:36 UTC 2002


on 1/3/02 6:22 PM, Bijan Parsia at bparsia at email.unc.edu wrote:

> On Thu, 3 Jan 2002, Stephane Ducasse wrote:
> [snip]
>> You can use the meta-compiler of VW. Roel Wuyts ported it to Squeak and they
>> never answer its queries about if he could give it away.
> 
> Ooo, I'd love to have this. Any chance of querying again? Maybe directly
> to James Robertson?

Ask roel ;) and see if you want to contact James


>> There is TGEN, but
>> pay attention to get the right version because in some there are some minor
>> bugs that can ruin our fun. Ask wuyts at iam.unibe.ch.
> 
> I updated the Squeak port to work with 3.1, but haven't tried it recently.
> 
> It's also not uncommon to just do one by hand. Looking at the built in
> Parser class (which is, of course, for Smalltalk) may give you some
> ideas. Prolog/V uses a subclass of the standard parser this way.
> 
> Liberty Basic is written in VisualWorks. You might be able to borrow the
> parser from that which may or may not be close enough to your Basic to be
> worth mucking with.
> 
> Cheers,
> Bijan Parsia.
> 
> 
> 





More information about the Squeak-dev mailing list