Commit graph

32 commits

Author SHA1 Message Date
robbe
e4ea9a0410 Added ';' required after a global constraint for concistency 2025-06-27 12:17:27 +02:00
robbe
58366fa9bb add Action code to the cd parser. 2025-06-27 12:17:10 +02:00
200f2a3ede add jinja2-based renderer for object diagrams 2024-12-17 15:32:24 +01:00
6314506ac0 parser prints line numbers AND gives an error if you use anonymous objects/links in LHS of a rule 2024-12-11 20:32:55 +01:00
fd8bc3bc40 improve (Port + Petri Net + traceability)-renderer 2024-12-09 17:43:01 +01:00
3ddfc96532 add renderer for Port + Petri Net + traceability 2024-12-09 17:09:43 +01:00
838bb18630 extend concrete syntax: edge can be defined as (src -> tgt) OR (tgt <- src) 2024-12-04 15:49:02 +01:00
7c01b126c2 parser: a comment does not need to include a newline character 2024-12-03 19:31:21 +01:00
9883e09ac2 merging (meta-)models works (but it's dirty!) 2024-12-03 17:58:03 +01:00
283cfa7801 enhance petri net renderer 2024-11-21 15:57:14 +01:00
3aec288e37 add petri net renderer (graphviz-based) 2024-11-21 14:58:32 +01:00
d56132f4d5 Fix bug in Class Diagram parser 2024-11-14 14:21:28 +01:00
80cba4b9f8 CBD model is computing Fibonacci numbers! :) 2024-11-07 15:38:13 +01:00
9c68b288c1 Make OD-API for consistent for constraints, LHS patterns, RHS actions. 2024-11-07 11:05:06 +01:00
1eb8a84553 (WIP) implementing CBD language... Meta-meta-model: Association inherits from Class. Matcher accepts pivot. Add generic graphviz renderer. 2024-11-07 09:46:29 +01:00
75d938d2be OD parser: use ODAPI instead of 'OD' service + support ActionCode-typed attributes 2024-11-05 13:59:04 +01:00
a682204381 OD textual renderer: fix order when there are links to/from links 2024-10-29 23:45:39 +01:00
cd26a401fe Add example of 'woods' operational semantics. Clearer error messages. Implement full OD-API. Small refactoring of Conformance class. 2024-10-28 14:15:12 +01:00
6cd8bbb8cc Clearer error message when parsing fails 2024-10-24 16:23:23 +02:00
ee790e4a11 Fix parsing primitive types 2024-10-21 15:01:27 +02:00
107f2f750e Associations are like Classes and can also have attributes 2024-10-21 15:00:04 +02:00
cfafbc2efa Fixed multiplicity infinity in class diagrams parser 2024-10-16 09:22:45 +02:00
4c4edf1963 CD parser: only add ModelRefs for types that don't exist yet 2024-10-09 15:19:54 +02:00
52ded8af77 Add concrete syntax for class diagrams + example (woods2.py) 2024-10-09 15:09:16 +02:00
c248fc9090 Fix problems with older versions of Python 2024-10-09 10:32:32 +02:00
17bff66e8e Add conformance checking example 2024-10-08 22:35:47 +02:00
e70eae2286 PlantUML: render class cardinalities. Extend constraint checker API. 2024-10-08 21:08:06 +02:00
c351649d23 Add 'cloner'. Example also uses concrete syntax for LHS and RHS. Renders all possible rewrites and morphisms with LHS and RHS. 2024-10-08 12:22:37 +02:00
e875821e70 Concrete syntax no longer indentation-based (nightmare to parse). Add indented multi-line code terminals. 2024-10-07 18:18:05 +02:00
59de61d0a3 Add ActionCode primitive type. Fix constraint checking. 2024-10-07 16:08:23 +02:00
03cc568516 Move file. Small fix. 2024-10-04 10:50:16 +02:00
175edb64d9 Class diagram can be rendered as object diagram textual syntax, and parsed back, without information loss 2024-10-03 17:01:13 +02:00