-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use YAML as alternative representation of DSL model #70
Comments
Also opens up the door to use something like lodash templates for code generation, too. While it takes away a custom editor, it does allow the use of standard YAML editors. If desirable enough, we could layer our model logic/constraints over existing YAML editors. |
Further, creation of a JSON/YAML schema describing |
YAML would definitely beat JSON for user friendliness. I've seen some state machine specs in YAML (for some Google Cloud tasks and PHP) - nothing too complicated, but they were easy to read. YAML may be attractive to novices, as they would be no special symbols - everything would be spelled out in plain English. |
I think the bigger issue is the perception of a proprietary DSL versus a proprietary YAML schema, not YAML vs JSON. Using YAML lands with a bit lighter emotional impact than using the DSL. If the DSL were somehow standardized, then I think the first impression would be more favorable, but I don't think anyone would even flinch at the YAML solution, even if the scheme were proprietary. In either case, the supporting machinery that YAML would require is definitely lighter in weight than our current Xtext-based tooling. |
You are right! Using YAML is unlikely to antagonize anybody at first contact. The emotional impact of a syntax is not to be underestimated. A lighter machinery would also be an advantage. |
Support
entity
andconversation
specifications to be stored as YAML (and thereby JSON) as an alternative representation to the*.ydm
&*.yc
DSLs. This allows usThe text was updated successfully, but these errors were encountered: