Skip to content

feat: other languages for scripts #13

@TechHog8984

Description

@TechHog8984

I think it would be cool to select different languages in the script editor that compile to Lua, such as moonscript or clue. Check for language binaries on system and just spawn command processes. (list all available languages in a dropdown but disable ones that we can't find a binary for). Maybe look in ~/frostbyte/binaries/[language] before just checking PATH?

  • moonscript - use -p option to print to stdout. syntax errors will result in exit code 1 and output in stderr
  • clue - on success, starts with "Compiled Lua Code" -- just ignore first and last lines of output; on failure, starts with "Error in" and results in exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions