mirror of
https://codeberg.org/setop/elm-scripting
synced 2025-11-08 21:49:57 +00:00
29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
|
|
# Major
|
|
|
|
- [ ] find a way to process external data
|
|
- [x] from stdout (use case : json), use flags
|
|
- [ ] from files (use case : SSG)
|
|
- [ ] from http (use case : spider)
|
|
|
|
- implements some missing Web API:
|
|
- [Events](https://dom.spec.whatwg.org/#events)
|
|
- [Fetch](https://fetch.spec.whatwg.org/)(or [XMLHttpRequest](https://xhr.spec.whatwg.org/))
|
|
- [Promise](https://webidl.spec.whatwg.org/#a-new-promise) (if needed by the above)
|
|
|
|
- [ ] find a way to create a standalone executable (maybe with a combination of Google Closure Compiler and qjsc)
|
|
|
|
- [ ] find a way to stream instead of having the whole document in memory (output as soon as a node is created ? a child is added ?)
|
|
|
|
|
|
# Minor
|
|
|
|
- [ ] support for Elm debug (`-d`) mode (qjs does not implement `console.warn`, only `console.log`)
|
|
- [ ] in debug mode, keep the output
|
|
- [x] allow to specify or guess the main module name
|
|
- [x] if `innerHTML` attribute is set, output its value instead of the node tree
|
|
- [x] allow to create standalone (`-s`) HTML document instead of fragment => use template engine instead
|
|
- [x] silence elm compiler message when successful
|
|
- [ ] skip compilation steps if source has not been modified ; run directly ; this mean keeping the output
|
|
- [x] add proper copyright and license
|