Thomas Krijnen
|
9efc9d2044
|
Fix iteration over indeterminate in rule execution
|
2024-12-18 11:45:47 +01:00 |
|
Thomas Krijnen
|
aa9b2d7428
|
populate_derived() upon instance creation, don't only rely on serialization 'hack' #5364
|
2024-10-07 20:41:34 +02:00 |
|
sukanka
|
b82073dd57
|
fix-py-syntax-warning
|
2024-09-01 14:02:24 +02:00 |
|
Andrej730
|
27aee31adf
|
typing
|
2024-08-27 18:25:29 +05:00 |
|
Thomas Krijnen
|
d80bcd1a94
|
Unify variant storage (#5118)
|
2024-08-23 20:29:07 +02:00 |
|
shungeer
|
8c12da13e6
|
Update README.md about extend express usage (#4841)
1. C++ code generation by extend express.
2. python rule code generation by extend express.
|
2024-07-01 11:20:30 +10:00 |
|
Andrej730
|
0b901bff5f
|
typing
|
2024-06-24 15:22:02 +05:00 |
|
Thomas Krijnen
|
79c0246e6a
|
Don't sort enum names for correspondence with header
|
2024-06-12 11:47:27 +02:00 |
|
Dion Moult
|
c4dfbdbe2e
|
Merge branch 'v0.7.0' into v0.8.0
|
2024-06-07 23:48:39 +10:00 |
|
Thomas Krijnen
|
3bb651fbd5
|
No longer disable optimizations in schema_class, not so relevant anymore
|
2024-05-12 21:19:32 +02:00 |
|
Thomas Krijnen
|
1e60454951
|
centralize attribute setting templates for size object reduction
|
2024-05-12 19:36:01 +02:00 |
|
Thomas Krijnen
|
6a62bf8493
|
Use latebound enum definition for resolving early bound enum names
|
2024-05-12 19:36:01 +02:00 |
|
Thomas Krijnen
|
fb72fdca9c
|
String pooling and modern initialization in schema
|
2024-05-12 19:36:01 +02:00 |
|
Thomas Krijnen
|
e9b69b4b26
|
Reduce number of externs
|
2024-05-12 19:36:00 +02:00 |
|
Dion Moult
|
0a3dddef2f
|
More Python 2 to Python 3 upgrades
|
2024-05-07 16:03:07 +10:00 |
|
Dion Moult
|
89c4cbeb05
|
Drop support for Python 2.
|
2024-05-07 12:17:46 +10:00 |
|
Thomas Krijnen
|
6302be6bfd
|
Merge v0.7.0 -- src\ifcopenshell-python\ifcopenshell\express
|
2023-10-18 09:47:27 +02:00 |
|
Thomas Krijnen
|
787149da13
|
Regen express rule code: lowercase str comparison in express rule generated code
|
2023-10-17 11:04:46 +02:00 |
|
Thomas Krijnen
|
3b31f6932a
|
Compile IFC4X3_ADD2 express rules
|
2023-10-17 09:50:39 +02:00 |
|
Thomas Krijnen
|
81b4e42ca2
|
Use schema_identifier for schema and express rule validation. See #3126
|
2023-10-12 10:37:44 +02:00 |
|
Thomas Krijnen
|
eee844e204
|
Express rules: Workaround str case in IfcBlobTexture
|
2023-09-02 15:58:05 +02:00 |
|
Thomas Krijnen
|
73d77b8382
|
Update rule_executor.py - catch some runtime errors
|
2023-08-30 14:56:35 +02:00 |
|
Thomas Krijnen
|
74160731c9
|
Update rule_executor.py
|
2023-07-11 21:40:05 +02:00 |
|
Dion Moult
|
a970120fac
|
See #3126 and 5b4010c. Fix failing tests, and allow schema_by_name to follow the same schema_version distinction as file.
|
2023-07-06 22:40:31 +10:00 |
|
Thomas Krijnen
|
1c996013b6
|
#2805 Further fixes for aggregates of select
|
2023-06-22 14:10:55 +02:00 |
|
Thomas Krijnen
|
7aa04611a1
|
#2805 provide aggregate typedef for select types
|
2023-06-22 10:07:26 +02:00 |
|
Thomas Krijnen
|
c72f960ed4
|
#2805 statically typed select types as aggregates
|
2023-06-21 19:25:04 +02:00 |
|
Thomas Krijnen
|
d60fbd2c09
|
Don't assert but just if-check for not terminating rule execution on very invalid files
|
2023-06-01 14:06:41 +02:00 |
|
Thomas Krijnen
|
23e3551f27
|
Fix regex escape in rule_executor.py
|
2023-04-30 19:09:43 +02:00 |
|
Thomas Krijnen
|
2dc4bbf8cd
|
Support rule compilation and execution on latebound schema
|
2023-04-11 13:24:32 +02:00 |
|
Thomas Krijnen
|
8a4a42777f
|
Property transfer ownership of schema from py to c++ upon register_schema()
|
2023-04-10 22:01:53 +02:00 |
|
Thomas Krijnen
|
c32c88b1a0
|
Merge remote-tracking branch 'origin/v0.7.0' into v0.8.0
|
2023-03-29 12:55:05 +02:00 |
|
Thomas Krijnen
|
96fbe9e5b6
|
String pooling and reducing duplication in schema codegen
|
2023-03-27 14:04:32 +02:00 |
|
Thomas Krijnen
|
42d7c7d32c
|
#2685 Recompile rule
|
2023-03-11 20:44:11 +01:00 |
|
Thomas Krijnen
|
c71a5a4d65
|
#2685 Indexing of simple type aggregates; fix index codegen bug; sizeof of indeterminate; repeat over indeterminate
|
2023-03-11 20:43:00 +01:00 |
|
Dion Moult
|
147602e107
|
Fix bug where ifcopenshell express rule validator required a logger with set_state.
|
2023-02-20 11:26:09 +11:00 |
|
Thomas Krijnen
|
31cf1127a6
|
Validation output enhancements
|
2023-02-14 20:55:14 +01:00 |
|
Thomas Krijnen
|
18670bcbd6
|
Recompile rules
|
2023-02-14 10:04:46 +01:00 |
|
Thomas Krijnen
|
27511d362e
|
Use inverse unpacking in rule execution
|
2023-02-14 10:04:45 +01:00 |
|
Thomas Krijnen
|
c634bffa10
|
Update reverse compilation to eliminate getattr() calls
|
2023-02-14 10:04:45 +01:00 |
|
Thomas Krijnen
|
dffa90bd5d
|
Better conformance wrt indeterminate with AST rewriting and dedicated type
|
2023-02-14 10:04:45 +01:00 |
|
Thomas Krijnen
|
531e07767f
|
#2754 latebound schema handling
|
2023-02-10 21:08:20 +01:00 |
|
Thomas Krijnen
|
da39c903f3
|
Latebound schema handling: Improve error messages
|
2023-02-10 21:07:25 +01:00 |
|
Thomas Krijnen
|
c4b77c2a07
|
Recompile rules
|
2023-02-03 22:22:40 +01:00 |
|
Thomas Krijnen
|
5526bed4c3
|
Express rules: allow indexing in sets
|
2023-02-03 21:17:08 +01:00 |
|
Thomas Krijnen
|
078bf8646a
|
Express rules: enclose rhs of not in parens when needed
|
2023-02-03 21:10:34 +01:00 |
|
Thomas Krijnen
|
a1ac820050
|
#2685 Recompile rules
|
2023-01-13 12:12:32 +01:00 |
|
Thomas Krijnen
|
e812a886dc
|
#2685 also implement __mul__ on express_set
|
2023-01-13 12:12:32 +01:00 |
|
Thomas Krijnen
|
d1a40d129f
|
#2685 Recompile rules
|
2023-01-11 13:38:12 +01:00 |
|
Thomas Krijnen
|
2336f299f7
|
Implement typeof() on simple types
|
2023-01-11 12:47:40 +01:00 |
|