ruststep
ruststep copied to clipboard
A STEP toolkit for Rust
I tried to use esprc transpiler for IFC schema (ver 2x3) [https://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/FINAL/EXPRESS/IFC2X3_Final.exp](url) as input, using the below terminal command: `./target/release/esprc ./schemas/ifc/IFC2x3.exp | rustfmt > ./ruststep/src/ifc2x3.rs` It results in following error:...
STEP file input (load) has been specified in ARCHITECTURE.md and implemented partially in `ruststep::parser` with later process by #12 . But, its output spec is not determined. Duplication Elimination ---------------------------...
The link http://www.steptools.com/stds/archive/ at https://github.com/ricosjp/ruststep/tree/master/schemas is already broken.
As far as I read ISO-10303-11, user defined identifiers should be snake_case, but some identifier copied into `schema/` does contains non snake_case identifier like `degree_Celsius`
Currently, they are parsed by espr, but code generation is not implemented.
``` ENTITY (´・ω・`) -- invalid syntax ENDENTITY ``` EXPRESS language has `END*` tokens, which makes recovery from invalid syntax easily.
Attempting to parse AP242 or AP203-long using esprc leads to a stack overflow error on my Windows machine. We should probably switch from stack based to heap based allocations for...
Sometimes STEP file is too large (>1GB) to expand it on memory. Since it is ASCII file, the size of files almost x10 larger than what we actually need. See...
Current `nom::error::Error` only shows the last `&str` which is not matched. Links ------ - [nom::error::VerboseError](https://docs.rs/nom/6.1.2/nom/error/struct.VerboseError.html) - [nom-greedyerror](https://github.com/dalance/nom-greedyerror) - [Blog (in Japanese)](https://qiita.com/dalance/items/c03dab3357b29ec50d83)
EXPRESS has "remark tag" ``` ENTITY ent; attr: INTEGER; END_ENTITY; (*"ent.attr" The attr attribute ... *) ``` (from ISO-10303-11(2004) p.13) It will helpful to convert it into Rust document