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

Stephane Ducasse ducasse at iam.unibe.ch
Thu Jan 3 17:05:36 UTC 2002


on 1/3/02 5:34 PM, Andy Stoffel at Andrew.Stoffel at jenzabar.net wrote:

> This is very off-topic (I think anyway)...
> 
> I was wondering if anyone has any links/sources/information pointers
> on writing a parser for other languages in Smalltalk ? Even just a
> starting point would be useful...
> 
> [Background for the curious --> I have some programs written
> in Compaq Basic (aka DEC Basic on OpenVMS) (It's NOT your
> grandmother's microcomputer/MS based Basic) that I would like
> to "map out" so I can figure out what these things are doing
> [I know what the programs do but HOW they do it can be a bit
> opaque at times... too many cooks have done their bit with these
> programs over the last 20 years ] so I can _safely_ change them.]
> 
> Thanks
> 
> -Andy-

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. 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.

Stef





More information about the Squeak-dev mailing list