Elm Scripts
Scripts for developing Elm programs!
Motivation
elm_scripts will be useful for a range of tasks:
generatethe initial stuff for various kinds of Elm-projects.buildfully optimized Elm-programs for various environments.testElm-functions for expections and invariants.runElm-workers to generate files or process stdio.- play with Elm-code, fast and easily.
elm_scripts was written for a couple of reasons:
- to build something useful with parser-combinators.
- as an exploration of Deno and Typescript.
- from disenchantment with Node.js, in particular NPM.
Warning
This project is under active development, which implies instability.
Semantic-versioning is applied strictly with zero stigma around major-version bumps.
Usage
elm_scripts is available as binary releases, or using Deno, which can be installed very easily like this.
elm_scripts relies on the Elm-compiler being installed and available.
A small api of internal functions is exported from /mod.ts in case this could be useful.
Usage from the terminal should be straight-forward:
# using a binary
elm_scripts help
# using deno
deno run https://deno.land/x/elm_scripts/mod.ts helpContributions
Contributions are welcome as pull-requests or issues!
There is some useful scripts for development in the /script folder.
The structure of the project should be small and readable enough that it constitutes a new issue from you, if navigating it is problematic in any way.
Versioning is based on:
versioninsource/CmdLine.elmdefaultFlagsinsource/CmdLine/Compatible.elm