Skip to content
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

[Compiler] Add support for pluggable specification languages #125

Open
wwerner opened this issue Feb 2, 2020 · 1 comment
Open

[Compiler] Add support for pluggable specification languages #125

wwerner opened this issue Feb 2, 2020 · 1 comment
Labels
P:3 Low Priority

Comments

@wwerner
Copy link
Contributor

wwerner commented Feb 2, 2020

Currently, we only support our own specification language/DSL.
During the demo with the reactive foundation, the question for additional specification languages came up (JSON Schema was mentioned by Ryland).

I think we could fit it into the architecture quite nicely, since the DSL is decoupled from the generator and the validation by means of the AST.

If we also add a generator that spits out the Vlingo DSL, we could also implement versioning in a manner independently of the specification format by converting specs in other languages to the Vlingo DSL first and apply versioning to this normalized spec. But I haven't thought it through completly yet, I guess we need to take care not to break roundtrip workflows in this case

Vlingo Spec DSL ->			-> Java
JSON Schema ->				-> C#
Avro ->				AST		-> ...
Protobuf ->
					/ \
					 | 
				 Validation
				[Versioning]
@wwerner wwerner added the P:3 Low Priority label Feb 2, 2020
@VaughnVernon
Copy link
Contributor

@wwerner Include support for Avro and Protobuf definition languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P:3 Low Priority
Projects
None yet
Development

No branches or pull requests

2 participants