Path: utzoo!attcan!uunet!world!esegue!compilers-sender From: mike@vlsivie.at (Inst.f.Techn.Informatik) Newsgroups: comp.compilers Subject: Re: compiler generators. Keywords: yacc, lex, question Message-ID: <1852@tuvie> Date: 25 Sep 90 08:36:49 GMT References: <90255.105510VMDOS@tecmtyvm.mty.itesm.mx> Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: mike@vlsivie.at (Inst.f.Techn.Informatik) Organization: Technical University of Vienna, AUSTRIA Lines: 31 Approved: compilers@esegue.segue.boston.ma.us In article <90255.105510VMDOS@tecmtyvm.mty.itesm.mx>, VMDOS@TECMTYVM.MTY.ITESM.MX (Ing. Pablo Tejeda Zeron) writes: > > I would like to know if exist some public domain compiler generator for > DOS, UNIX or OS2. Could you help me?. > I'm using YACC for generate the parser, but, I want also generate > intermediate code or target code. Several approaches are possible. The more conventional is a code generator generator which helps in writing (portable) back ends. One such beast is the GNU C compiler (gcc). It has been succesfully used for a C++ compiler, and front ands for Modula-[23] and Fortran are currently being written. But this still requires _you_ to generate the intermediate code (RTL) from which gcc works. The other approach is based on high level semantics. Peter Lee wrote one such generator, MESS. This approach is still in experimental state, so you will have difficulties finding systems which are in production use. bye, mike Michael K. Gschwind, Institute for VLSI-Design, Technical University, Vienna mike@vlsivie.at mike@vlsivie.uucp e182202@awituw01.bitnet Voice: (++43).1.58801 8144 Fax: (++43).1.569697 -- Send compilers articles to compilers@esegue.segue.boston.ma.us {ima | spdcc | world}!esegue. Meta-mail to compilers-request@esegue.