dillonkearns / elm-review-html-to-elm

Turn HTML into Elm. With support for elm-tailwind-modules.
http://html-to-elm.com/
BSD 3-Clause "New" or "Revised" License
97 stars 9 forks source link

Use elm-syntax-dsl for codegen #9

Closed dillonkearns closed 3 years ago

dillonkearns commented 3 years ago

This was an interesting experiment, but because elm-syntax-dsl doesn't currently support comments in the body of functions, this would be a degradation of the current user experience.

https://github.com/the-sett/elm-syntax-dsl/issues/18

So I'm going to stick with the current custom code generation through string concatenation, which is working quite well with the comprehensive end-to-end test suite.