APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2004/05/29 Lex and Yacc


© May 2004 Tony Lawrence

Although separate programs, you'll often see the two tied together. From the Bugs section of the Lex Man Page:

The asteroid to kill this dinosaur is
still in orbit.
 

Lex is "A Lexical Analyzer Generator". It recognizes regular expressions, and generates simple output based on what it is fed. Yacc (Yet Another Compiler Compiler) depends upon that type of lexical parsing to produce a C program that will interpret the input. See https://www.tldp.org/HOWTO/Lex-YACC-HOWTO.html

The Linux version of Lex is Flex and Bison has a yacc compatibility flag.


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Lex and Yacc


Inexpensive and informative Apple related e-books:

Take Control of iCloud

Take control of Apple TV, Second Edition

iOS 8: A Take Control Crash Course

Digital Sharing Crash Course

Take Control of Upgrading to El Capitan




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Show me your flowchart and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowchart; it'll be obvious. (Fred Brooks, The Mythical Man Month)




Linux posts

Troubleshooting posts


This post tagged:

Programming

UnixWords



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode