(WIP) implementing CBD language... Meta-meta-model: Association inherits from Class. Matcher accepts pivot. Add generic graphviz renderer.
This commit is contained in:
parent
a26ceef10f
commit
1eb8a84553
25 changed files with 542 additions and 170 deletions
23
examples/cbd/models/r_delay_rhs.od
Normal file
23
examples/cbd/models/r_delay_rhs.od
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Our entire LHS (don't delete anything):
|
||||
|
||||
delay:RAM_Delay
|
||||
|
||||
delay_out:RAM_OutPort # abstract
|
||||
|
||||
delay_has_output:RAM_hasOutPort (delay -> delay_out)
|
||||
|
||||
some_inport:RAM_InPort # abstract
|
||||
|
||||
delay_out_conn:RAM_link (delay_out -> some_inport) # abstract
|
||||
|
||||
state:RAM_State
|
||||
|
||||
delay_to_state:RAM_delay2State (delay -> state)
|
||||
|
||||
|
||||
# To create:
|
||||
|
||||
new_signal:RAM_Signal {
|
||||
RAM_signal = `get_slot_value(match('state'), 'state')`;
|
||||
}
|
||||
:RAM_hasSignal (delay_out_conn -> new_signal)
|
||||
Loading…
Add table
Add a link
Reference in a new issue