Blog: Passing parameters to Yacc and Flex

Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com>
Wed, 04 Jan 2012 06:35:02 +0000

          From comp.compilers

Related articles
Blog: Passing parameters to Yacc and Flex johann@2ndquadrant.com (Johann 'Myrkraverk' Oskarsson) (2012-01-04)
| List of all articles for this month |

From: Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com>
Newsgroups: comp.compilers
Date: Wed, 04 Jan 2012 06:35:02 +0000
Organization: X-Privat.Org NNTP Server - http://www.x-privat.org
Keywords: parse, yacc
Posted-Date: 06 Jan 2012 10:01:15 EST

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/



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.