Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #403
| From | Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Blog: Passing parameters to Yacc and Flex |
| Date | 2012-01-04 06:35 +0000 |
| Organization | X-Privat.Org NNTP Server - http://www.x-privat.org |
| Message-ID | <12-01-004@comp.compilers> (permalink) |
Hi all,
This blog may be of use to readers of this newsgroup.
Here we go through the steps needed to pass parameters to the
yyparse() and from that to yylex(). Familiarity with C, Flex and
Yacc is assumed.
This document is written for Berkeley Yacc and the reflex variant of
Flex. Presumably GNU Bison and SourceForge Flex will work as well.
For some reason I did not come across any concrete examples by
googling. Please let me know what can be improved in the blog entry.
Shortened URL:
http://woe.is/yBncmH
Full URL:
http://my.opera.com/myrkraverk/blog/2012/01/04/passing-parameters-to-yacc-and-flex
--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/
Back to comp.compilers | Previous | Next | Find similar
Blog: Passing parameters to Yacc and Flex Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com> - 2012-01-04 06:35 +0000
csiph-web