1
0
mirror of https://codeberg.org/setop/elm-scripting synced 2025-11-08 21:49:57 +00:00
Files
elm-scripting/TODO.md
2025-10-02 19:08:12 +02:00

28 lines
1.1 KiB
Markdown

# Major
- find a way to process external data
- [ ] from stdout (use case : json)
- [ ] 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 mode (qjs does not implement `console.warn`, only `console.log`)
- [ ] in debug mode, keep the output
- [ ] allow to specify or guess the main module name
- [ ] allow to create standalone (`s`) HTML document instead of fragment
- [ ] silence elm compiler message when successful
- [ ] skip compilation steps if source has not been modified ; run directly ; this mean keeping the output
- [ ] add proper copyright and license