-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
Description
Currently can't support something like this:
State1
enter / count += 1 # it's time to increment
The ' causes a parsing failure:
Failed parsing node label.
Reason(s): no viable alternative at input ' it'' at line 2 column 23. Offending symbol: `'`.
mismatched input ''' expecting <EOF> at line 2 column 23. Offending symbol: `'`.
DiagramNode:
id: State1
label: `State1
enter / count += 1 # it's time to increment
exit /`
parent.id: MySm (parent follows below)
Supporting inline comments will be difficult for various programming languages as they can differ dramatically. Like ocaml (* this is also an enclosed comment *), pascal `(: this is an enclosed comment :). See here.
Might need to standardize on a single style for StateSmith like /* */. This works right now for parsing, but it isn't translated to the user's desired language right now. User's can post process generated file in the mean time.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Someday...