Lex/Yacc for Oberon? 
Author Message
 Lex/Yacc for Oberon?

Subject says it all.

If anybody has heard about existing or forthcoming versions of Lex and Yacc for
Oberon-2, please post your informations or send it via e-mail (Address see below).
Thanks in advance.

 Regards, Kristian.

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 >  Software fuer Entwickler     |                                           <
 >                               | Phone: +49 89 7256293                     <
 >  Thalkirchner Str. 33         | Fax:   +49 89 7470536                     <
 >  D-80337 Muenchen, Germany    |                                           <
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "Make it as simple as possible, but not simpler"  (A. Einstein)



Tue, 30 Jan 1996 18:58:30 GMT  
 Lex/Yacc for Oberon?

Quote:
>  Subject says it all.

>  If anybody has heard about existing or forthcoming versions of Lex and Yacc for
>  Oberon-2, please post your informations or send it via e-mail (Address see below).
>  Thanks in advance.

Bizarrely enough, lex and yacc generate source with heaps of goto's
which are used to switch between states.  Hence, converting YACC to
Oberon is not as simple as just modifying the syntax of the source.
Oberon has eliminated goto's (I am pretty sure!) and although this
is a good for programmers, it is not always great for program
generators.

I am sure though that you could use ARRAYs of PROCEDUREs to hold state
info rather than the messier goto's.  Might be a bit slower though...

Quote:
>   Regards, Kristian.

Cheers,
Andrew McVeigh

--

-----------------------------------------------------------
Andrew McVeigh   Know Christ know life.  No Christ no life.
-----------------------------------------------------------



Thu, 01 Feb 1996 04:53:15 GMT  
 Lex/Yacc for Oberon?

: If anybody has heard about existing or forthcoming versions of Lex and Yacc for
: Oberon-2,

Lex/Yacc for Modula-3 have been implemented. You might
make your request to the Modula-3 forum. Modula-3 and Oberon
are successors to Modula-2.

An extended Backus-Naur Formalism (EBNF) for Oberon can be
found on neptune.inf.ethz.ch. A recursive decent compiler
is described in Project Oberon by Wirth and Gutknecht.

Whitney



Thu, 01 Feb 1996 21:42:55 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Lex/Yacc for Oberon?

2. Oberon-2 LEX&YACC defs.

3. Free Oberon-2 LEX/YACC files updated to latest ETHZ definition

4. Oberon-2 YACC/LEX parser available

5. Q: Lex&YACC smalltalk version ?

6. awk lex yacc (beginner question)

7. LEX and YACC in Smalltalk

8. lex/yacc

9. Lex & Yacc for Smalltalk

10. Yacc/Lex Description of Eiffel v3

11. lex and yacc with Eiffel

12. lex, and yacc spec for eiffel ?

 

 
Powered by phpBB® Forum Software