Re: [elm-discuss] Re: Feature Request: Code Generation/ Macro System

2016-06-12 Thread Noah Hall
FWIW I've already turned json-to-elm into kind-of-macros for my own personal usage along with a couple of other things. I don't think that elmx is a compelling use case though. I think it's best to leave that stuff to the react people. Things like decoders, encoders, reducing boilerplate,

Re: [elm-discuss] Re: Feature Request: Code Generation/ Macro System

2016-06-12 Thread Isaac Shapira
Let me make the scenarios I mentioned more clear. I'm not advocating for a macro language, I'm advocating for a means of doing code generation that is consistent and maintainable. Producers could be solved with code generation, elmx could be replaced with code generation (I don't think it

Re: [elm-discuss] Re: Feature Request: Code Generation/ Macro System

2016-06-12 Thread Maxime Dantec
I also think that it should not be in the core. And I'd argue, that this thread is about polling the community about the idea :) I have a tiny beginning of an Elm parser written using https://github.com/Bogdanp/elm-combine (awesome lib!!) that I could push once it compiles (^^). On Sunday,