Books and notes in flex and bison-Preface

Source: Internet
Author: User

XML parsing and custom protocol parsing have been widely used recently.CodeThe automatic generation tool can generate code, which is of course more advantageous and saves time and effort. Therefore, we decided to use the free time to learn about gsoap, flex, Bison, and some XML parsing tools. So I bought a book and got this note.

Bytes ---------------------------------------------------------------------------------------------

Flex and bison are tools specifically designed for compiler and interpreter programmers, but any applicationProgramAs long as it looks for a specific mode in its input, or it uses the command language as the input, flex and bison are applicable.

The classic Lex and YACC were developed by Bell Labs in 1970s, while flex and bison were their modern versions.

YACC was developed by Stephen C. Johnson first.

Lex was designed by Mike lesk and Eric Schmidt (who is now leading Google) to work with bison.

Release of the GNU project of the Free Software FoundationBison, A forward compatible version of YACC.

BSD and GNU projects are also releasedFlex (quick lexical analysis generator)"It overwrites Lex to solve a large number of errors and defects in Lex ." Flex was originally written by Jef poskanzer and Vern Paxson and Van jacbson improved it quite a lot.

Obtain flex and bison

Http://www.gnu.org/software/bison

Http://flex.sourceforge.net

Ftp://ftp.iecc.com/pub/file/flexbision.zip


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.