Article View: comp.lang.modula2
Article #32Re: WANTED: Lex and Yacc for Modula-2
From: De Lucca
Date: Tue, 04 Aug 1992 12:05
Date: Tue, 04 Aug 1992 12:05
44 lines
2799 bytes
2799 bytes
On Mon, 3 Aug 1992 03:23:34 GMT <waikato.ac.nz!pqsutton@DECWRL.DEC.COM> said:
>I am looking for a LEX and YACC tool, which generates MODULA-2 code. Does
>anyone know if such a tool exists and where to get it?
>
Here, in Brazil, we developed a set of tools which can help you. It's not
complete. It consists - at this moment - of a Graphic Finite Automata Editor,
a Transition Table Finite Automata Editor (both of them with special features
to validate your specification and follow the traditional formalism - see
Aho & Ullman's compiler book. These will help on lexical structures specs -
but we don't have a Lexical Analyzer Generator yet (comming real soon...).
There are a Sintatic Analyzer Generator which, based on BNF formalism (again,
you can see it at Aho&Ullman's book), works with LL(1), LALR(1), SLR(1) and
LR(1) grammars and generates Modula-2 or Pascal (Turbo 5.0+) code. (C, next.).
It provides extensive documentation and a Parser Simulator to help you to debug
your grammar. You can solve the conflict's interactively.
Semantic and Code generation Actions can be included, as well a lexical
analyzer, so you can generate a complete compiler.
Two advantages:1) following the tradicional and best known formalisms (no new
language to learn), it's easier to work and discuss about the specifications.
2) with the Animated Simulation, to debug is quick and ease.
A problem: the documentation and program's interface are in ...PORTUGUESE.
We don't know when we can translate it in to English. We need
professional help (as you can see, reading my ... argh... text)
Please, if you want more details, call me.
>Thanks in advance.
You are welcome.
Jose Eduardo De Lucca - Brazil
=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jose Eduardo De Lucca - Universidade Federal de Santa Catarina
Depto Ciencias Estatisticas e da Computacao
Florianopolis - Santa Catarina - Brasil
CEC1JEL@BRUFSC.BITNET CEC1JEL@BRUFSC.ANSC.BR
=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<INFO-M2%92080408025733@UCF1VM.BITNET>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!BRUFSC.BITNET!CEC1JELReferences:
<waikato.ac.nz!pqsutton@DECWRL.DEC.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!BRUFSC.BITNET!CEC1JEL From: CEC1JEL@BRUFSC.BITNET (De Lucca) Newsgroups: comp.lang.modula2 Subject: Re: WANTED: Lex and Yacc for Modula-2 Message-ID: <INFO-M2%92080408025733@UCF1VM.BITNET> Date: 4 Aug 92 12:05:23 GMT References: <waikato.ac.nz!pqsutton@DECWRL.DEC.COM> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@cmsa.Berkeley.EDU> Distribution: world Organization: Depto Ciencias Estat e da Computacao/UFSC Lines: 44 X-Unparsable-Date: Tue, 4 Aug 1992 08:33:42 BSC