A GUI tool that allows users to enter a script, execute it, and see its output side-by-side
- Should have an editor pane and an output pane.
- Write the script to a file and run it using
/usr/bin/env swift foo.swift
, orkotlinc -script foo.kts
respectively. - Assume the script might run for a long time.
- Show live output of the script as it executes.
- Show errors from the execution/if the script couldn't be interpreted.
- Show an indication whether the script is currently running.
- Show an indication whether the exit code of the last run was non-zero.
- Highlight language keywords in a color different from the rest of the code. You may assume that keywords are not valid in other contexts, e.g. as enum member names. You may restrict yourself to 10 keywords, if more could be added easily.
- Make location descriptions of errors (e.g. “script:2:1: error: cannot find 'foo' in scope”) clickable, so users can navigate to the exact cursor positions in code.
- Add a mechanism to run the script multiple times. Show a progress bar as well as an estimate of the time remaining. The estimate should be based on the time elapsed for already finished runs of the batch. More recent runs should be weighted more than older ones.
- Add support for opening files in tabs
- Add custom execution commands through a lambda so scripts can run in windows or other languages can be interpreted
- Option to change the theme
- Add the ability to read input from the console
- Better syntax highlighting and a code completion system
- Use Jetpack Compose for Desktop example as a base for a new UI
- Kotlin - Programming language
- OpenJDK 11 - Runtime environment and development kit
- Intellij IDEA - Integrated Development Environment
- Salvador - salva09
This project is licensed under the MIT License - see the LICENSE.md file for details.