Commit graph

181 commits

Author SHA1 Message Date
c9c5a5214d add petrinet 'mutex'-example from MoSIS slides 2024-11-21 14:17:50 +01:00
5240c7e21a Add petrinet language 2024-11-21 12:10:28 +01:00
dd7a0536c9 Add example demonstrating abstract association and inheritance between associations 2024-11-15 11:18:02 +01:00
d56132f4d5 Fix bug in Class Diagram parser 2024-11-14 14:21:28 +01:00
1845c3deb9 Rename matcher modules to make more sense 2024-11-13 11:10:31 +01:00
42757ddc4f add examples 2024-11-13 10:07:16 +01:00
8504ba52f6 RAMify: associations can also have attributes... 2024-11-12 21:54:41 +01:00
6d7a62545c rewriter: first create, then delete 2024-11-12 21:54:23 +01:00
943af428a7 make all builtins available in action code 2024-11-12 21:54:06 +01:00
bede501752 fix bug in matcher 2024-11-12 21:53:50 +01:00
abbc854a50 fix bug 2024-11-11 18:56:34 +01:00
e3d4889f91 Handle 'condition' object-attribute in RHS as well 2024-11-08 16:43:26 +01:00
ad3752cd61 Rewrite the 'rewriter' + Added transformation schedule to CBD example, simplifying the rules 2024-11-08 16:27:32 +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
a26ceef10f Conformance checker relies much more on ODAPI rather than duplicating its logic + Fix error in bootstrap of primitive types 2024-11-05 16:54:00 +01:00
c92d5be284 Add comment 2024-11-05 14:17:28 +01:00
31e0f8195f Conformance checker: use CDAPI for subtype checking 2024-11-05 14:17:09 +01:00
361591f971 Conformance checker: begin porting to CDAPI for subtype checking 2024-11-05 13:59:44 +01:00
75d938d2be OD parser: use ODAPI instead of 'OD' service + support ActionCode-typed attributes 2024-11-05 13:59:04 +01:00
16604d0f0b OD service: redirect function already implemented in ODAPI 2024-11-05 13:58:02 +01:00
b73ca789cc Conformance checker bug: also look for subtypes of associations when checking multiplicities 2024-11-05 13:57:17 +01:00
641e4b9810 (WIP) add CBD language 2024-11-05 13:54:42 +01:00
a89fe4bb71 Port language: Textual renderer shows when a berth is being operated 2024-10-30 10:23:35 +01:00
cc89fe96c1 Fix graphviz renderer for 'port' language 2024-10-30 10:17:20 +01:00
b944ece747 Let's keep it simple 2024-10-30 03:14:50 +01:00
86610139d2 Refactor 'port' demo to include starting point for assignment 2024-10-30 01:02:11 +01:00
72c78c664f Update gitignore 2024-10-29 23:49:30 +01:00
b116496f87 Make sure line is erased. 2024-10-29 23:48:42 +01:00
43080f88fe ODAPI: fix bug + add function 'has_slot' 2024-10-29 23:48:30 +01:00
51b8469856 Clearer error msg 2024-10-29 23:48:07 +01:00
48f7a455fb Fancy up the conformance checker a bit. Clearer error messages, and allow constraints to return not just a boolean, but also (lists of) strings, containing error messages. 2024-10-29 23:47:41 +01:00
a14676da42 Add models for assignment 4. 2024-10-29 23:46:10 +01:00
a682204381 OD textual renderer: fix order when there are links to/from links 2024-10-29 23:45:39 +01:00
d671c5d71a Remove duped code 2024-10-29 16:22:29 +01:00
7338a6675d Clearer error when getting non-existing slot 2024-10-29 16:18:27 +01:00
67c6779b20 Clearer error when creating link between non-existing objects 2024-10-29 16:14:10 +01:00
64708cb8d0 Clearer exceptions caused by constraint evaluation 2024-10-29 16:13:13 +01:00
043f44d163 Move function for making actions pure to simulator lib 2024-10-29 11:36:42 +01:00
c738e8bcd1 Extract language-independent 'Simulator' class from woods example 2024-10-29 11:20:32 +01:00
590ce0b0b9 Fix bug in ODAPI 2024-10-29 11:19:50 +01:00
a4352e3184 BIG speedup by caching the *set* of edge targets for a given key 2024-10-28 17:11:55 +01:00
38924237e1 Don't add conformance check to actions (just check always after every step) 2024-10-28 16:31:57 +01:00
d8b52dd5c4 Add random simulation. Add option to also execute actions that lead to non-conforming model. 2024-10-28 16:16:30 +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
f2dc299eab Begin working on semantics example: runtime (meta-)model extends design (meta-)model 2024-10-24 16:25:53 +02:00
98ae637eea Fix bug where creation of slot defined in super-class fails + clearer error message 2024-10-24 16:24:54 +02:00
6cd8bbb8cc Clearer error message when parsing fails 2024-10-24 16:23:23 +02:00
cc2bfc3c3c Fix PlantUML urls 2024-10-21 15:08:13 +02:00