Loading repository data…
Loading repository data…
voidspawner / repository
⌜V O I D lang⌟ is the language for rapidly creating games, apps and content in the V O I D or JSON format
⌜ V O I D lang ⌟ is the language for rapidly creating applications and games in the V O I D or JSON format. It is used as a replacement for the standard Bash・CMD・etc. languages and for creating games, apps and content. The language uses one of the languages already preinstalled in the system. So you don't need to install anything else. Code and data are not separated. The whole application fits in one V O I D or JSON file. Since the code is presented as data, applications can be easily generated with AI, updated, installed and launched remotely.
[!IMPORTANT] The project is in the process of development.
About・ Preinstalled Language・ Example・ How to Use・ Actions・ V O I D format・ V O I D db・ V O I D ai・ V O I D game・ V O I D social・ V O I D os・ V O I D tech・ V O I D ideology・ V O I D license・ V O I D task
| Language | Engine | Web | CLI | Mobile | Windows | macOS | Linux | iOS | Android | Xbox | Switch | PlayStation | Steam Deck | Steam Machine |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Python | Python | ⚪ | 🟢 | ⚪ | 🟢 | 🟢 | 🟢 | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ | 🟢 | 🟢 |
| JavaScript | NodeJS | 🟠 | 🟠 | ⚪ | 🟠 | 🟠 | 🟠 | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ | 🟠 | 🟠 |
| Swift | LLVM | ⚪ | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | ⚪ | ⚪ | ⚪ | ⚪ | 🟠 | 🟠 |
| Kotlin | JVM | ⚪ | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | ⚪ | 🟠 | ⚪ | ⚪ | ⚪ | 🟠 | 🟠 |
| C++ | Unreal Engine | ⚪ | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 | 🟠 |
. Hi World :D
". Hi World :D"
. .about.version
". .about.version"
run
[. .text.hi :D
[. language · .language
text
hi
en Hi World
zh 你好世界
fr Bonjour le monde
es Hola Mundo
pt Olá Mundo
it Ciao mondo
de Hallo Welt
jp こんにちは世界
ru Привет, мир
ar مرحبا بالعالم
hi हैलो वर्ल्ड
{
"run": [
[".", ".text.hi", ":D"],
[".", "language", "·", ".language"]
],
"text": {
"hi": {
"en": "Hi World",
"zh": "你好世界",
"fr": "Bonjour le monde",
"es": "Hola Mundo",
"pt": "Olá Mundo",
"it": "Ciao mondo",
"de": "Hallo Welt",
"jp": "こんにちは世界",
"ru": "Привет, мир",
"ar": "مرحبا بالعالم",
"hi": "हैलो वर्ल्ड"
}
}
}
[[cloud '<h1>Hi World 😄</h1>
[[cloud page.html
[[cloud.web /path/to/site
[["cloud", "<h1>Hi World 😄</h1>"]]
[["cloud", "page.html"]]
[["cloud.web", "/path/to/site"]]
[[cloud /path/to/share
[["cloud", "/path/to/share"]]
[= word 'Hi World :D
[o .word
[? .letter = i
[.. i!
]
[.. .letter
[
["=", "word", "Hi World :D"],
["o", ".word", [
["?", ".letter", "=", "i", [
["..", "i!"]
], [
["..", ".letter"]
]]
]]
]
[replace 'Hi World :D' i i!
[. ..
upper
[. 'upper text {}
lower
.
[
["replace", "Hi World :D", "i", "i!"],
[".", ".."],
"upper",
[".", "upper text {}"],
"lower",
"."
]
[code 'for i in range(10):print(i)
[code.c++ 'int i = 10; std::cout << i;
[
["code", "for i in range(10):print(i)"],
["code.c++", "int i = 10; std::cout << i;"]
]
from path.to.void import VOIDlang as void
encrypted = void.encrypt('Hi World :D')
print(void.decrypt(encrypted['data'], encrypted['key']))
app.void・app.json・app.zippython3 void.py app.void
python3 void.py app.json
python3 void.py app.zip
[!TIP] Create an app in
run.void・run.json・run.zipfor autorunpython3 void.py
[!TIP] Type alias in the
Windowscommand line or PowerShelldoskey void=python3 c:\path\to\void.pyfunction void { python3 c:\path\to\void.py @args }Add alias in
~/.bashrc(Linux)・~/.bash_profile(macOS)・~/.zshrc(macOS)alias void="python3 /path/to/void.py"void app.void
[!TIP] To install Python on
Windows, pressWin+Rand paste the commandwinget install --id Python.Python -h --accept-package-agreements --accept-source-agreementsTo install Python on
macOSorWindows, enter the command in the terminal and follow the instructionspython3
[!TIP] Compile
Python・JavaScript・Swift・Kotlin・C++file containing your code into the exacutablepip3 install pyinstaller pyinstaller --onefile void.pynpm install -g pkg pkg void.jsswiftc void.swiftkotlinc void.ktclang++ void.cpp -o void.exe
[!TIP] Convert your app・game to various platforms
void.exe convert app.void app.exe void.exe convert game.void game.exe
[!TIP] Import
void.py・void.js・void.swift・void.ktinto the project to create an appImport
void.gd・void.cppinto the Godot・Unreal Engine project to create a game
[!NOTE] Use Help to display a description of the action
python3 void.py help python3 void.py h upper
Number of actions
258
| value | crypto |
|---|---|
getRetrieve a value based on provided parameter name | encryptEncrypts data using the AES256 algorithm and the specified key |
setAssign a value to a specified parameter | decryptDecrypts previously encrypted data using the AES256 algorithm and the specified key |
remove · delRemove a specified parameter | passwordHashes a password using the Argon2, Bcrypt or PBKDF2 algorithm for secure storage |
typeDetermine the data type | password.checkVerifies a password against a Argon2, Bcrypt or PBKDF2 hashed password |
textSpecify a data as a text type | hashGenerates a hash for the data or generates a random text |
numberSpecify a data as a number type | uuidGenerates a universally unique identifier |
boolSpecify a data as a boolean type | sha1Generates an SHA-1 hash of a text |
binarySpecify a data as a binary type | sha256Generates an SHA-256 hash of a text |
length · ~ · len · memGets the length of the data | sha512Generates an SHA-512 hash of a text |
| expression | Calculates the CRC32 checksum of a text |
crc32+ · **``and |