delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/13/07:04:19

Message-ID: <19970613130813.43560@gil.physik.rwth-aachen.de>
Date: Fri, 13 Jun 1997 13:08:13 +0200
From: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
To: acebear AT pukopn1 DOT puk DOT ac DOT za
Cc: djgpp AT delorie DOT com
Subject: Re: YACC?
References: <33A087FB DOT 7DBC AT pukopn1 DOT puk DOT ac DOT za>
Mime-Version: 1.0
In-Reply-To: <33A087FB.7DBC@pukopn1.puk.ac.za>; from acebear@pukopn1.puk.ac.za on Thu, Jun 12, 1997 at 04:36:27PM -0700

On Thu, Jun 12, 1997 at 04:36:27PM -0700, acebear AT pukopn1 DOT puk DOT ac DOT za wrote:
> What is this YACC utility everybody keeps yaccing about?

yacc - Yet Another Compiler Compiler

a unix (first appeared there) based parser generator.
Incarnations are bison (gnu based) and byacc (Berkeley yacc).

You give it a syntax file (grammar) with the extension
.y and it produces a parser. You also need to supply a 
tokenizer or 'lexer'. This is supplied by lex.

All this is available as ports to djgpp.

> 
> Rylan

--
Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019