-
-
Notifications
You must be signed in to change notification settings - Fork 4
mark
Mark is a data format which gave some inspiration to wasp
Both are tree formats with very similar internal representation and similar syntax with this little exception:
Mark has the object/node type behind the braces:
{html {body}}
in Mark is
html{body}
in Wasp / Angle.
Difference between Wasp and Mark Notation :
Wasp has the object/node type on the left side of braces:
Wasp: html{ div{'hello world'}}
vs Mark: {html {div 'hello world'}}
The later 'polish-notation' (or sexp/lisp-notation with braces) can be used via compile flag (#pragma?).
div{ class:"form-group" } vs div(class="form-group") vs div{ class:{"form-group"}} ? Should be identical under most circumstances
Similar Data Formats: kdl ~ https://sdlang.org/ ekon