Parser generator, targetting C, C++, Python, JavaScript, JSON and XML
UniCC (UNIversal Compiler-Compiler) compiles an augmented grammar definition into a program source code that parses the described grammar. Because UniCC is intended to be target-language independent, it can be configured via template definition files to emit parsers in almost any programming language.
UniCC comes with out of the box support for the programming languages C, C++, Python (both 2.x and 3.x) and JavaScript. Parsers can also be generated into JSON and XML.
This project will help you to expose C++ libraries to Python. pygccxml package is an object oriented framework for reading C++ declarations. pyplusplus package is an object-oriented framework for creating a codegenerator for boost.python library.
Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has been made
as compatible as possible with AT&T Yacc. Berkeley Yacc has been extended
to generate Python, Perl and Java code.
an alternative interpreter for the Python programming language
...I am working on this project mainly to gather experience with the current C++ standart (C++ 11) and with compiler development, it is not (yet) intended for practical usage.
This project is at an early stage of development. Currently implemented is a Lexer, Parser and CodeGenerator for compiling Python code into CPython-compatible bytecode.