Discussion:
[elm-discuss] ADL: possible language for serialization
Joey Eremondi
2017-05-07 22:55:34 UTC
Permalink
I saw this on the Haskell Reddit and thought it looked interesting for Elm:

https://github.com/timbod7/adl


"A framework for building cross language data models. It consists of a DSL
for describing data types, code generators for several target languages,
and runtimes for these languages."

This could help with sharing data types between the front-end and backend
of a web app, as well as with automatically generating JSON Encoders and
Decoders.

Thoughts?
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Witold Szczerba
2017-05-07 23:34:05 UTC
Permalink
I like the idea, but without a strong community support to provide bindings
for many languages, it can just... fail, I guess. I'm wondering what my
colleagues would tell, will show our them tomorrow.
Post by Joey Eremondi
https://github.com/timbod7/adl
"A framework for building cross language data models. It consists of a DSL
for describing data types, code generators for several target languages,
and runtimes for these languages."
This could help with sharing data types between the front-end and backend
of a web app, as well as with automatically generating JSON Encoders and
Decoders.
Thoughts?
--
You received this message because you are subscribed to the Google Groups
"Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nathan Schultz
2017-05-08 01:55:43 UTC
Permalink
I does look like something that could be of huge benefit to Elm.

In regards to whether the community would pick it up, the F# community
isn't massive, and yet the community has done a great job in creating Type
Providers for consuming almost every common kind of structured data, and
it's easy in that language to consume almost any data source. In fact the
community has gotten so crazy that you can even interpret and consume other
programming languages using it (like the R Type Provider).

So if there were something equally as compelling in Elm, I think people
would jump on-board.
Post by Witold Szczerba
I like the idea, but without a strong community support to provide
bindings for many languages, it can just... fail, I guess. I'm wondering
what my colleagues would tell, will show our them tomorrow.
Post by Joey Eremondi
https://github.com/timbod7/adl
"A framework for building cross language data models. It consists of a
DSL for describing data types, code generators for several target
languages, and runtimes for these languages."
This could help with sharing data types between the front-end and backend
of a web app, as well as with automatically generating JSON Encoders and
Decoders.
Thoughts?
--
You received this message because you are subscribed to the Google Groups
"Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Matthieu Pizenberg
2017-05-08 02:06:47 UTC
Permalink
I've no idea if the name picked was done purposely but the purpose looks
similar to ADL
(https://en.wikipedia.org/wiki/Architecture_description_language). This
language is used as a modeling language to create and manipulate systems.
If I remember well, we used it in software engineering course in a pipeline
to transform language to other languages. That was just to point at the
coincidence, I'm not an Haskell user, so I can't really know if they are
related in some way.
Post by Witold Szczerba
I like the idea, but without a strong community support to provide
bindings for many languages, it can just... fail, I guess. I'm wondering
what my colleagues would tell, will show our them tomorrow.
Post by Joey Eremondi
https://github.com/timbod7/adl
"A framework for building cross language data models. It consists of a
DSL for describing data types, code generators for several target
languages, and runtimes for these languages."
This could help with sharing data types between the front-end and backend
of a web app, as well as with automatically generating JSON Encoders and
Decoders.
Thoughts?
--
You received this message because you are subscribed to the Google Groups
"Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...