2014-02-17 22:13:55 +00:00
|
|
|
This folder contains Python code to generate C++ type information based on an
|
|
|
|
|
Express schema. In particular is has only been tested using recent version of
|
|
|
|
|
the IFC schema and will most likely fail on any other Express schema.
|
|
|
|
|
|
2020-03-17 11:55:28 +01:00
|
|
|
The code can be invoked in the following way and results in several code outputs
|
|
|
|
|
named according to the schema name in the Express file. A python 3 interpreter
|
|
|
|
|
with the pyparsing [1] library is required.
|
2014-02-17 22:13:55 +00:00
|
|
|
|
2020-03-17 11:55:28 +01:00
|
|
|
$ python bootstrap.py express.bnf > express_parser.py
|
|
|
|
|
$ python express_parser.py IFC2X3_TC1.exp header implementation schema_class definitions
|
2015-11-22 02:20:34 +02:00
|
|
|
|
|
|
|
|
[1] http://pyparsing.wikispaces.com/Download+and+Installation
|