https://github.com/gebes/gebesscriptkotlin
📄Simple Scripting Language made with Kotlin as Interpreter
https://github.com/gebes/gebesscriptkotlin
interpreter jar kotlin script-language
Last synced: 24 days ago
JSON representation
📄Simple Scripting Language made with Kotlin as Interpreter
- Host: GitHub
- URL: https://github.com/gebes/gebesscriptkotlin
- Owner: gebes
- Created: 2020-06-19T07:52:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T18:12:28.000Z (about 5 years ago)
- Last Synced: 2025-10-31T15:38:30.002Z (5 months ago)
- Topics: interpreter, jar, kotlin, script-language
- Language: Kotlin
- Homepage:
- Size: 1.52 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GebesScript
Simple Script Language with Kotlin as Interpreter
## HelloWorld Example
There a ton of examples in the ./scripts/ folder you can look at. Here a basic one
```
main
println
Hello World!
```
## Execute a script
Execute the jar, and it will look up for .gebes files in a scripts folder (which will be automatically created).
It's essential that you execute the .jar in the console/terminal because there is no GUI
### Launch arguments
If the argument is the path, then it will execute this script in chronological order.
If you don't want the "Executing script..." message, then add `--no-prefix`.
Example:
```
java -jar GebesScript-1.x.jar ./scripts/hello.gebes --no-prefix
```
If there are no arguments, it will then redirect you to the selection screen.
## What did I learn?
* Kotlin
* How to write an interpreter