Bolting a Bison/Flex parser into Python

Duncan Grisby dgrisby at uk.research.att.com
Fri May 12 05:09:28 EDT 2000


In article <Pine.OSF.4.20.0005121047520.25984-100000 at azure.dstc.edu.au>,
 Anthony J Wilkinson  <anthony at dstc.edu.au> wrote:

>The idl compiler, fnidl, that comes with Fnorb <http://www.fnorb.com> does
>this. Full source is included with the distribution. Note that to build
>changed grammar or lexer files you will need to do the following which is not
>yet documented or in the makefile:

omniORB's IDL compiler, omniidl, also builds Python objects, but in a
slightly different way to fnidl. fnidl builds Python objects directly
from bison; omniidl first builds a tree of C++ objects, then converts
them into Python objects later. This means it is possible to create
back-ends in C++ as well as Python. (Having said that, all our
back-ends are in Python since it's so much easier.)

You can get omniidl as part of omniORB 3 or omniORBpy, from:

  http://www.uk.research.att.com/omniORB/

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --



More information about the Python-list mailing list