mirror of
https://codeberg.org/setop/elm-scripting
synced 2025-11-08 21:49:57 +00:00
1.2 KiB
1.2 KiB
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
- Fetch(or XMLHttpRequest)
- 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 implementconsole.warn, onlyconsole.log) - in debug mode, keep the output
- allow to specify or guess the main module name
- if
innerHTMLattribute is set, output its value instead of the node tree - 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