Skip to content

Conversation

@brainrake
Copy link

Hey there! I made an elm codegen template and published the results in the elm package repository: https://package.elm-lang.org/packages/brainrape/elm-ganja/latest/
If there is interest to include it in ganja.js, let me know what changes are required and I'll update this PR.

Tests and examples are not included in the generated code. Ideally, these would be in separate files, eg. run by elm-test. To run elm code and generate output (besides the repl), anelm.json file and some js is necessary too.
I can see achieving this by with a js script that generates tests and other files and runs them, called from the makefile. Or we can instead include elm tests in elm-ganja.
Cheers!

@enkimute
Copy link
Owner

Hi there!

Very cool - I'll find some time to look at this ASAP. zero experience with ELM here ;)

Ideally it would be nice to include it in the makefile and compare system for the generator. (which is quite a trivial thing based on terminal output of various test programs).

Thanks for the work, hopefully we can include this easily (and also on bivector.net etc.. )

Cheers,

Enki

@brainrake brainrake marked this pull request as draft March 15, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants