lins@Apple.COM (Chuck Lins) (07/30/90)
In article <2370.26B1547F@puddle.fidonet.org> Cobus.Debeer@p0.f1.n491.z5.fidonet.org (Cobus Debeer) writes: > > Do you know if a YACC / LEX equivilent tool exists for M2 ie. something that > produces M2 as output from a grammer as input ? > There's a parser generator called Coco developed originally by Rechenberg and Moessenboeck. It's described in the book "A Compiler Generator for Micro- computers", Prentice Hall, 1989. The source code is available for something cheap. It's for the pc. There's actually a newer version of Coco (I think a SIGPlan Notices article was recently on this). So you might want to contact the authors directly to get the latest and greatest. Prof. Moessenboeck is now at ETH Zuerich and has a version called Coco/R which produces a recursive descent compiler. I know he has a Macintosh version, I don't know about the pc. -- Chuck Lins | "Is this the kind of work you'd like to do?" Apple Computer, Inc. | -- Front 242 20525 Mariani Avenue | Internet: lins@apple.com Mail Stop 37-BD | AppleLink: LINS@applelink.apple.com Cupertino, CA 95014 | "Self-proclaimed Object Oberon Evangelist" The intersection of Apple's ideas and my ideas yields the empty set.