[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: YACC & LEX



voss@i40s16.ira.uka.de (Stefan Voss) writes:

>In article <C639uv.J5H@dm.unibo.it>, nerim@cs.unibo.it (Maurizio Neri) writes:
>|> I've heard from a friend of mine that exist a YACC (a parser generator for
>|> writing compilers that is very popular in the Unix World) for ms dos machines .
>|> Does somebody know if there is something similar for the Apple 2gs ,
>|> eventually that is been ported from the unix world ?
>Soenke Behrens <behrenss@informatik.tu-muenchen.de> ported YACC to the IIGS.
>Should be on pindarus.cs.uiuc.edu, I think.
>However, I don't know if the same holds for LEX.

Definitely. flex has been ported, but will abort with certain optimizations
(thank GNU for assuming ints are 32-bit wide). I rewrote part of flex to get
around these problems, and then ORCA/C stopped me dead in my tracks. Now
I'm waiting for the next version of 2.0 "final" :)

Anyway, flex is available to play with, maybe it gives you an "out of
mem error" sometimes though (due to 16-bit ints on the GS).

Soenke
-- 
===========================================================================
More than silver, more than gold, I need   !    behrenss@informatik.
electricity. I need it for my dreams.      !    tu-muenchen.de
(RACTER)                                   !  FIDO: 2:246/13 Soenke Behrens