Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the Lex & Yacc tool ?

Status
Not open for further replies.
Lex & Yacc

http://dinosaur.compilertools.net/

A compiler or interptreter for a programminning language is often decomposed into two parts:

1. Read the source program and discover its structure.
2. Process this structure, e.g. to generate the target program.

Lex and Yacc can generate program fragments that solve the first task.

The task of discovering the source structure again is decomposed into subtasks:

1. Split the source file into tokens (Lex).
2. Find the hierarchical structure of the program (Yacc).
 

Re: Lex & Yacc

Any clue to where I can get this stuff from ? .. I can't find any download link in the link u mentioned !
 

Re: Lex & Yacc

Any unix OS have lex and yacc.
In linux it named flex and bison .
There are also Windows versions.
 

Re: Lex & Yacc

fragment said:
Any unix OS have lex and yacc.
In linux it named flex and bison .
There are also Windows versions.

can u help me downloading the windows version ? .. is it under cygwin environment ?
 

Lex & Yacc

Cygwin is one way. Or try searching Google for lex yacc windows
 
  • Like
Reactions: blooz

    blooz

    Points: 2
    Helpful Answer Positive Rating
Re: Lex & Yacc

There is a pure windows port Flex & Bison. Its a part of BisonFlex wizard for Visual C++ 6.0. It can be found for example at h**p://www.window95.com/windows/programming.html
But main problem with Flex/Bison is a license. All programs that use Flex/Bison must be GNU.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top