Smart stack + some registers = Stack++.
Looks a bit like assembly but it is not!
Edit: turns out I made a virtual machine and Stack++ is something like bytecode for it
Still in active development!
$ git clone https://github.com/OliverSchlueter/StackPP.git
$ cd StackPP/
$ gradlew shadowJar
$ cd build/libs/
$ java -jar StackPP.jar [path to .spp file]
$ gradlew publishToMavenLocal
In your project add the following:
repositories {
mavenLocal()
...
}
dependencies {
implementation 'de.oliver:StackPP:version'
...
}
You can find the documentation for the Stack++ language in StackPP.md.
You can find a bunch of examples in the examples/ directory.
I made a IntelliJ plugin, that adds syntax highlighting and auto-completion for Stack++.
You can find it here: StackPP-Plugin
- Stack operations
- Simple calculations
- Conditions
- Functions
- Memory access
- Read and write files
- Simple graphics (wip)
- import GameEngine
- show window
- set title
- set width and height
- set background color
- draw rectangle with color
- draw texture
- draw text
- Internet (not sure yet)