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-15 13:00:58 +02:00

1.2 KiB

Major

  • find a way to process external data

    • from stdout (use case : json), use flags
    • from files (use case : SSG)
    • from http (use case : spider)
  • implements some missing Web API:

  • 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
  • allow to specify or guess the main module name
  • if innerHTML attribute is set, output its value instead of the node tree
  • allow to create standalone (-s) HTML document instead of fragment => use template engine instead
  • 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