Xref: utzoo comp.lang.c:38606 comp.unix.questions:30659 comp.unix.wizards:25078 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!isis.cs.du.edu!awade From: awade@isis.cs.du.edu (allen wade) Newsgroups: comp.lang.c,comp.unix.questions,comp.unix.wizards Subject: lex and yacc help desired Message-ID: <1991Apr23.164744.25927@mnemosyne.cs.du.edu> Date: 23 Apr 91 16:47:44 GMT Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Reply-To: awade@isis.cs.du.edu (allen wade) Organization: Nyx, Public Access Unix (sponsored by U. of Denver Math/CS dept.) Lines: 23 Disclaimer1: Nyx is a public access Unix system run by the University of Denver Disclaimer2: for the Denver community. The University has neither control over Disclaimer3: nor responsibility for the opinions of users. Hello, I am fairly new to Lex and Yacc and I am tring to develop a language definition for a small report processer. I have the book Introduction to Complier Construction by Scheiner and Friedman, But I feel a little lost as how to start. My input lines will generally look like this: |MEDINA|ANTOINIO|01/14/62|M|(312)778-2540|60629|GARFIELD|LAREN|GP|DC101A| I am able to figure out the regular expressions for Lex, but I am confused about how Lex and Yacc work together. Any help will be most appreciated. __________ Allen Wade Consumer Health Services Boulder, CO {uunet,boulder}!chs!allen chs!allen@boulder.Colorado.EDU uunet!isis!awade awade@nyx.cs.du.edu