Skip to content

Update SADL syntax with sections and arrow notation#4

Merged
rrezel merged 2 commits into
mainfrom
dev
Feb 2, 2026
Merged

Update SADL syntax with sections and arrow notation#4
rrezel merged 2 commits into
mainfrom
dev

Conversation

@rrezel

@rrezel rrezel commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add section headers (#nodeclass, #linkclass, #instances, #connections)
  • Change node class definition from nodeclass name: to name::
  • Use arrow syntax (->) for link classes and connections
  • Mark client connectors with * prefix

Test plan

  • Verify parser correctly identifies client vs server connectors
  • Verify all example files parse without errors
  • Test demo.html renders correctly in browser

Change node class definition from 'nodeclass name:' to 'name::' and
use section headers (#nodeclass, #linkclass, #instances, #connections).
Connector type now determined by port presence instead of * prefix.
Link classes and connections use arrow syntax (->).
Client connectors now use *name syntax while server connectors
use name or name (port). This makes it explicit which connectors
initiate connections vs listen for them.
@rrezel rrezel merged commit cd2878d into main Feb 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant