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

elm codegen #140

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

elm codegen #140

wants to merge 2 commits into from

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

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