Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!shelby!neon!hoelzle From: hoelzle@Neon.Stanford.EDU (Urs Hoelzle) Newsgroups: comp.object Subject: Re: Ideas for OO approaches to parsing Message-ID: <1991Feb27.032536.7146@Neon.Stanford.EDU> Date: 27 Feb 91 03:25:36 GMT References: <66193@brunix.UUCP> <11471@pasteur.Berkeley.EDU> Organization: Computer Science Department, Stanford University Lines: 18 In article <66193@brunix.UUCP>, dkb@cs.brown.edu (Dilip Barman) writes: |> |> This is somewhat an open-ended question, but I would like suggestions as to |> what an appropriate way might be to view parsing (from a grammar through |> to semantics, so I really mean lexical analysis, parsing, and maybe syntax- |> directed translation) from the OO perspective. Thanks in advance. Look at "Incremental Attribute Evaluation with Side Effects" (the exact title may differ somewhat) by Gorel Hedin in the ECOOP'89 proceedings. It contains a nice OO grammar system which is used, among other things, for incremental semantic checking of Simula programs. There's also a corresponding TR from Lund Univ. -Urs -- ------------------------------------------------------------------------------ Urs Hoelzle hoelzle@cs.stanford.EDU Center for Integrated Systems, CIS 42, Stanford University, Stanford, CA 94305 Brought to you by Super Global Mega Corp .com