Verscae 2.0.1a
Pre-releaseVerscae 2.0.1b
Changes
- Whole code is now a single python file, along with a compiled exe file for windows and Linux, along with a python compiled version for macOS.
- Added support for importing other verscae files or python files.
- Better error code displays
- Significantly quicker overall (other then windows, idek why)
- added flags: -m for music and -d for decompile
- How to run on Windows?:
verscae filename.v
Make sure the verscae.exe
is in your PATH or in the same dir as the file you want to run
- How to run on Linux or MacOS:
python3 verscae.py filename.v
Make sure the verscae.py
is in your PATH or in the same dir as the file you want to run
The rest of the readme is available here
Requirements
- Python 3.x is a must.
- VScode is now optional but for the automation tasks and the keyboard shortcuts it is recommended
---- READ EVERYTHING BELOW THIS LINE ----
-
If you want music to play when compiling, you can add the music file in the same dir as the
verscae.py
file and name itmusic.mp3
-
The command to play music while compiling is
verscae filename.v -m
on windows andpython3 verscae.py filename.v -m
on Linux or macOS -
If you want to decompile a file, you can use the command
verscae filename.v -d
on windows andpython3 verscae.py filename.v -d
on Linux or macOS -
If you want to decompile a file and play music while decompiling, you can use the command
verscae filename.v -d -m
on windows andpython3 verscae.py filename.v -d -m
on linux or macos (The order of the-d
and-m
dont matter) -
Remember each verscae file must have a
.v
extension and must start with the following:
public main() {
// code here
}
-
Functions can go anywhere, this is a non-linear language, so you can call a function before it is defined.
-
You can also define a function inside another function, but you can't call it before it is defined.
-
Thats it, enjoy the language, and if you have any suggestions, please let me know in the issues tab.
Notes
- The zip files contain examples and a README.
- The non-zip files are only for people who know what they are doing.
Full Changelog: 3.0.1...4.0.0