Skip to content

⌜V O I D lang⌟ is the language for rapidly creating applications and games in the VOID or JSON format

Notifications You must be signed in to change notification settings

voidspawner/void.lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V O I D lang

About

⌜ 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 BashCMD・etc. languages and for writing applications, servers and games. 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. So 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.

AboutPreinstalled LanguageExampleHow to UseHow to Use Game EngineActionsV O I D formatV O I D dbV O I D aiV O I D gameV O I D socialV O I D osV O I D techV O I D ideologyV O I D licenseV O I D task

Preinstalled Language

Language Engine Web CLI Server Mobile Windows macOS Linux iOS Android Xbox Switch PlayStation Steam Deck
Python

Python

-

+

+

-

+

+

+

-

-

-

-

-

+

JavaScript

NodeJS

+

+

+

-

+

+

+

-

-

-

-

-

+

Swift

-

-

+

+

+

+

+

+

+

-

-

-

-

+

Kotlin

-

-

+

+

+

+

+

+

+

+

-

-

-

+

GDScript

Godot

+

+

+

+

+

+

+

+

+

+

+

+

+

C++

Unreal Engine

-

+

+

+

+

+

+

+

+

+

+

+

+

Example

Simple
{
  "run": [
    [".", "Hi World :D"]
  ]
}
Even simpler
[
  [".", "Hi World :D"]
]
Show current version
[
  ["." "{description.about.version}"]
]
Multilanguage text
{
  "run": [
    [".", "{text.hi} :D"]
  ],
  "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": "हैलो वर्ल्ड"
    }
  }
}
Web server
{
  "run": [
    ["cloud.web", {
      "route": [
        ["/", "home"]
      ]
    }]
  ],
  "action": {
    "home": [
      ["response", "<h1>Hi World 😄</h1>"]
    ]
  }
}
Web server simpler
[
  ["cloud.web": {
    "route": [
      ["/", [
        ["response", "<h1>Hi World 😄</h1>"]
      ]]
    ]
  }]
]
Web app with UI
{
  "run": [
    ["cloud.web": {
      "route": [
        ["/", [
          ["title", "{text.hi}"],
          ["text", "{text.hi}", {
            "color": "white",
            "background": "green",
            "size": 20
          }]
        ]]
      ]
    }]
  ],
  "text": {
    "hi": "Hi World 😄"
  }
}
File sharing
[
  ["cloud.file": "/path/to/share"]
]
Add comments
{
  "description": "All code is data. So just add the property 'description', '//' and so on",
  "version": {
    "description": "Version description",
    "number": 1,
    "name": "First"
  },
  "run": [
    [".", "Hi World :D"]
  ]
}
Use loop and conditions
[
  ["=", "word", "Hi World :D"],
  ["o", "letter", "{word}", [
    ["?", ["{letter}", "=", "i"], [
      [".", "i!"]
    ], [
      [".", "{letter}"]
    ]]
  ]]
]
Get the last result without using variables
[
  ["replace", "Hi World :D", "i", "i!"],
  [".", "{}"],
  "upper",
  "."
]
Run native code
[
  ["code", "for i in range(10):print(i)"]
]
Import into your project
exec(open('void.py').read())
encrypted = void.encrypt('Hi World :D')
print(void.decrypt(encrypted.text, encrypted.key))

How to Use

  1. Download V O I D lang
  2. Create your first vapp (V O I D app) in run.json or other JSON file
  3. Launch vapp with V O I D lang
python void.py vapp.json

Alternative

python void.py vapp.void
python void.py app.py
python void.py "['.', 'Hi World :D']"

Tip

Linux・macOS: Add alias to ~/.bashrc~/.zshrc~/.bash_profile (macOS)

alias void="python /path/to/void.py"

Windows: Use alias in command line

doskey void=python /path/to/void.py
void vapp.json

Swift・Kotlin・C++: Embed the vapp in the source code and compile it into an executable

swiftc void.swift
kotlinc void.kt
clang++ void.cpp -o void.exe

How to Use Game Engine

  1. Buy V O I D spawner game on Steam
  2. Create your first game in run.json file
  3. Copy the void.exe file from the V O I D spawner game to the same directory as run.json file
  4. Sell your game or share with friends

Note

Run with game engine

void.exe game.json

The archive contains run.json and all game files

void.exe game.zip

The execution directory contains run.json and all game files or contains run.zip file

void.exe

You can use the Exporter inside the V O I D spawner game to export your game to all platforms ⌜WindowsmacOSLinuxAndroidiOSWebXboxSwitchPlayStation

Alternative

  1. Download V O I D lang
  2. Import void.gdvoid.cpp into the GodotUnreal Engine
  3. Create your first game in run.json file
  4. Export the game in the engine itself to the available platforms
  5. Sell your game or share with friends

Actions

Note

Use Help to display a description of the action

["help"],
["help", "upper"]
python void.py help
python void.py help upper

Count of actions 416

value format
get
Retrieve a value based on provided parameter name
void.encode
Encodes data into the Void format
set
Assign a value to a specified parameter
void.decode
Decodes data from the Void format
remove
Remove a specified parameter or value
json.encode
Encodes data into the JSON format
type
Determine the data type of a specified parameter
json.decode
Decodes data from the JSON format
text
Specify a parameter as a text type
csv.encode
Encodes data into the CSV format
number
Specify a parameter as a number type
csv.decode
Decodes data from the CSV format
bool
Specify a parameter as a boolean type
yaml.encode
Encodes data into the YAML format
list
Specify a parameter as a list type
yaml.decode
Decodes data from the YAML format
dict
Specify a parameter as a dictionary type
ini.encode
Encodes data into the INI format
binary
Specify a parameter as a binary type
ini.decode
Decodes data from the INI format
n
Gets the length of the text, the number of items in a list or dictionary
html.encode
Encodes data into the HTML format
  html.decode
Decodes data from the HTML format
expression html.markdown
Encodes Markdown-formatted text into the HTML format
+
Perform addition operation
xml.encode
Encodes data into the XML format
-
Perform subtraction operation
xml.decode
Decodes data from the XML format
*
Perform multiplication operation
css.encode
Encodes data into the CSS format
/
Perform division operation
css.decode
Decodes data from the CSS format
%
Perform modulo operation
 
~
Elevation operator
request
!
Perform logical negation
request
Sends an HTTP (GET by default) request to a specified URL
&
Perform bitwise AND operation
request.post
Sends an HTTP POST request to a specified URL
|
Perform bitwise OR operation
request.put
Sends an HTTP PUT request to a specified URL
^
Perform bitwise XOR operation
request.delete
Sends an HTTP DELETE request to a specified URL
>>
Perform right bitwise shift operation
request.head
Sends an HTTP HEAD request to a specified URL
<<
Perform left bitwise shift operation
download
Downloads content from a specified URL
=
Assign value to a variable
download.info
Retrieves information about a content available for download
+=
Add and assign value to a variable
download.audio
Downloads audio from a specified URL
=+
Assign and add value to a variable
download.video
Downloads video from a specified URL
-=
Subtract and assign value to a variable
download.text
Downloads subtitles from a specified URL
*=
Multiply and assign value to a variable
 
/=
Divide and assign value to a variable
cloud
%=
Modulo and assign value to a variable
cloud
Runs cloud storage or services for data management
~=
Elevation and assign value to a variable
cloud.file
Runs cloud storage
&=
Bitwise AND and assign value to a variable
cloud.web
Runs WEB service
|=
Bitwise OR and assign value to a variable
cloud.api
Runs API service
^=
Bitwise XOR and assign value to a variable
cloud.socket
Runs Socket service
>>=
Right shift and assign value to a variable
cloud.mail
Runs Mail service
<<=
Left shift and assign value to a variable
cloud.proxy
Runs Proxy service
==
Checks if left value is equal to right
cookie
Gets or sets a specified cookie
!=
Check if values are not equal
cookie.remove
Removes a specified cookie from the client's storage
>
Checks if left value is greater than right
social
Interacting with social API
<
Checks if left value is less than right
 
>=
Checks if left value is greater than or equal to right
notification
<=
Checks if left value is less than or equal to right
notification
Send notification
not
Logical NOT operation
mail
Send mail
and
Logical AND operation
call
Initiate a voice or video call to a specified recipient
or
Logical OR operation
sms
Send a text message (SMS) to a specified recipient
in
Checks if value is in a list or name in a dictionary
 
!in
Checks if value is not in a list or name not in a dictionary
os
  os
Gets or checks the operating system type
control os.version
Current version of the operating system
.
Output data to the console
os.user
Information about the current user logged into the operating system
..
Input text from the user
language
System language
?
Evaluate a conditional expression
 
o
Perform a loop operation
device
x
Exit the current loop
device
Information related to the hardware device
->
Skip to the next iteration of the loop
cpu
Information about the CPU, including its usage and specifications
<-
Repeat the current iteration of the loop
fps
Frames per second for video or graphical rendering
X
Return a result from an action
vsync
Vertical sync settings to reduce screen tearing during rendering
action
Initiate or call an action
resolution
Screen resolution
open
Open a link
orientation
Orientation of a device's display (landscape or portrait)
code
Execute a block of native code
darkmode
Dark mode setting for user interfaces
xx
Exit the current application
pixel
Color of the pixel displayed on the screen
l
Log data
textmode.character
Symbol on the screen in text mode
convert
Convert data from one format to another
textmode.cursor
Cursor position on the screen in text mode
sql
Execute SQL query
textmode.clear
Clears the screen in text mode
clipboard
Storing or retrieving clipboard temporary data
flashlight
Turns on or off the device's flashlight
spawner
Export code to an application, game or operation system
location
Retrieves the current geographic location using GPS or network triangulation
test
Test one or all actions
gyroscope
Provides access to the gyroscope sensor for motion detection
help
Show description and use of the action
accelerometer
Provides access to the accelerometer sensor to detect acceleration forces
void
Perform a void action on the hash
compass
Accesses the magnetic compass sensor to determine orientation relative to the Earth's magnetic field
  proximity
Detects the proximity of objects in relation to the device's proximity sensor
text brightness
Manages the screen brightness level of the device
lower
Convert text to lowercase
calendar
Calendar events on a device
upper
Convert text to uppercase
gallery
Photo and video library on a device
starts
Check if text starts with a specific substring
contacts
Contact list on a device
ends
Check if text ends with a specific substring
 
strip
Remove leading and trailing spaces from text
ai
strip.start
Remove leading spaces from text
translate
Converts text from one language to another
strip.end
Remove trailing spaces from text
spellcheck
Spell check in different languages
replace
Replace occurrences of a substring within text
chat
AI conversation and interaction through text
find
Locate a substring within text
image
Create an image
parse
Parse text into structured data
image.size
Adjusts the dimensions of an image
similar
Find similarity between texts
image.square
Crops an image to a square aspect ratio
part
Extract a part of the text
image.crop
Cuts a portion of the image according to specified dimensions
split
Split text into parts based on a delimiter
image.rotate
Rotates an image by a specified number of degrees
join
Join a list of strings into a single string with a delimiter
image.text
Adds text to an image at specified positions
date
Format or parse date-related information
image.image
Adds an image onto another
escape
Escape special characters in a string
image.grayscale
Converts an image to grayscale
escape.html
Escape HTML tags and attributes in a string
image.tint
Applies a color tint to an image
escape.url
Escape URL components
image.flip.h
Flips an image horizontally
escape.sql
Escape SQL query components to prevent injection
image.flip.v
Flips an image vertically
unescape
Unescape special characters in a string
image.upscale
Increases the resolution of an image
unescape.html
Unescape HTML tags and attributes in a string
image.draw
Allows draw, clear or replace objects on an image
unescape.url
Unescape URL components
image.style
Applies stylistic effects to an image
unescape.sql
Unescape SQL query components
image.colorize
Adds color to a grayscale image
words
Split text into individual words
image.recognize
Identifies objects or text within an image
sentences
Split text into sentences
image.face
Detects and processes faces within an image
lines
Split text into lines
image.effect
Applies special effects to an image
bytes
Convert a string into bytes
video
Create a video
  video.crop
Cuts a portion of the video according to specified dimensions
list video.text
Adds text to a video at specified positions
merge
Combine multiple lists into one
video.image
Adds an image to a video
push
Add an element to the end of a list
video.sound
Adds audio track to a video
pop
Remove and return an element from the end of a list
video.video
Adds another video clip to a video
reverse
Reverse the order of elements in a list
video.trim
Trims the video to a specified length
shuffle
Randomly reorder elements in a list
video.size
Adjusts the dimensions of a video
map
Apply a function to each element in a list
video.upscale
Increases the resolution of a video
reduce
Apply a function cumulatively to the elements in a list
video.speed
Adjusts the playback speed of a video
names
Retrieve all keys or attribute names from a structure
video.volume
Adjusts the volume of the video's audio track
values
Retrieve all values from a structure
video.mute
Removes sound from a video
  video.face
Detects and processes faces within a video
math video.effect
Applies special effects to a video
sin
Sine of the value (in radians)
sound
Create audio track
cos
Cosine of the value (in radians)
sound.trim
Trims the audio track to a specified length
tan
Tangent of the value (in radians)
sound.speed
Adjusts the playback speed of audio
sinh
Hyperbolic sine of the value
sound.volume
Adjusts the volume of an audio track
cosh
Hyperbolic cosine of the value
sound.effect
Applies special effects to an audio track
tanh
Hyperbolic tangent of the valu
music
Generates music
asin
Arc sine of the value
voice
Text voicing with different voices
acos
Arc cosine of the value
voice.list
List of available voices
atan
Arc tangent of the value
voice.recognize
Convert voice to text
asinh
Arc hyperbolic sine of the value
voice.stop
Stop dictation of the text
acosh
Arc hyperbolic cosine of the value
voice.capture
Create a specific voice
atanh
Arc hyperbolic tangent of the value
motion
Processes motion-based data
round
Rounds a number to the nearest integer or to the specified number of decimal places
motion.capture
Records or analyzes motion data in real-time
floor
Largest integer less than or equal to a number
 
ceil
Smallest integer greater than or equal to a number
ui
log
Logarithm (natural by default) of a number
ui
Creating a basic element of user interface
factorial
Factorial of a given non-negative number
bg
Sets or updates the background properties, such as color or image
fibonacci
Fibonacci numbers up to a specified index
show
Displays a UI element to make it visible
golden
Golden ratio of a number
hide
Hides a UI element to make it invisible
abs
Absolute value of a number
enable
Enables a UI element, making it interactive and functional
min
Smallest of a list of numbers
disable
Disables a UI element, preventing interaction or use
max
Largest of a list of numbers
focus
Sets focus on a specific UI element, making it active or highlighted
avg
Average value of a list of numbers
unfocus
Removes focus from a UI element
sum
Sum of a list of numbers
scale
Adjusts the size of a UI element by scaling it up or down
random
Generates a pseudo-random number
ui.text
Displays or manages text within the user interface
random.seed
Sets or gets the seed for the random number generator to produce reproducible results
ui.image
Displays or manages images within the user interface
random.reseed
Sets a new random seed for the random number generator
ui.video
Handles video playback or displays video content in the UI
  ui.sound
Manages sound playback or controls audio settings in the UI
time ui.camera
Handles camera input or streams video from a camera in the UI
t
Stopwatch for calculating the time spent on operations
ui.draw
Enables drawing within the user interface
time
Provides current time since the epoch (1970-01-01 00:00:00 UTC)
ui.header
Defines or manages the header section of the user interface
timer
Creates a timer that can be used to trigger events at specific intervals
ui.footer
Defines or manages the footer section of the user interface
timer.remove
Removes previously created timer
ui.wait
Displays a waiting indicator within the UI
timepast
Calculates time passed since a given start time
ui.gallery
Manages or displays a collection of images or media items
wait
Pauses execution for a specified number of seconds
ui.button
Defines or manages buttons in the UI for user interaction
  ui.select
Creates or manages a selection interface, such as a dropdown menu
crypto ui.switch
Implements a toggle switch for binary choices in the UI
encrypt
Encrypts data using a specified key
ui.progress
Displays a progress bar or status indicator
decrypt
Decrypts previously encrypted data using the specified key
ui.slider
Implements a sliding control for adjusting values along a range
hash
Generates a hash for the data or generates a random text
ui.edit
Enables text editing or manages editable fields in the UI
uuid
Generates a universally unique identifier
ui.divider
Inserts a visual divider or separating line within the UI layout
md5
Generates an MD5 hash of a text
ui.split.h
Splits a UI container horizontally to create multiple sections
sha1
Generates an SHA-1 hash of a text
ui.split.v
Splits a UI container vertically to create multiple sections
sha256
Generates an SHA-256 hash of a text
ui.list
Displays a list of items for selection or viewing
sha512
Generates an SHA-512 hash of a text
ui.tile
Arranges content in a tiled format for visual organization
crc32
Calculates the CRC32 checksum of a text
ui.chart
Data visualization using charts and graphs
base64.encode
Encodes the data into base64 format
ui.color
Color selection or manages color properties in the UI
base64.decode
Decodes base64 encoded data back to its original form
ui.date
Date selection or displays date information
gzip.encode
Compresses data using the GZip compression algorithm
ui.menu
Creates or manages menu options for navigation or actions
gzip.decode
Decompresses GZip compressed data
ui.menu.context
Defines a context menu for right-click actions or additional options
rsa.encode
Encrypts data using RSA encryption with a public key
window
Creates or manages window
rsa.decode
Decrypts data encrypted with RSA using the corresponding private key
window.list
List of windows
rsa.public
Generates the RSA public key used for encryption
title
Sets or updates the title of a window or UI element
rsa.private
Generates the RSA private key used for decryption
icon
Defines or changes an icon associated with a window or UI element
ssl.encode
Performs SSL encryption on data to secure communication
size
Adjusts the dimensions or size of a window or UI element
ssl.decode
Decrypts data encrypted with SSL for secure data transfer
size.max
Sets the maximum size constraints for a window or UI element
ssl.check
Verifies the validity and authenticity of an SSL certificate
size.min
Sets the minimum size constraints for a window or UI element
bcrypt.encode
Hashes a password using the bcrypt algorithm for secure storage
position
Adjusts the position or placement of a window or UI element
bcrypt.check
Verifies a password against a bcrypt hashed password
direction
Text writing direction for the selected language
  attention
Highlights a window or UI element
file top
Brings a window or UI element to the top layer or foreground
file
Read or write data to a file at a specified path
nofocus
Prevents a UI element from receiving focus or interaction
file.exists
Checks if a specified file exists at the given path
noresize
Locks the size of a window or UI element, preventing resizing
file.read
Reads the contents of a specified file
center
Centers a window or UI element within its parent container or screen
file.read.text
Reads the text contents of a specified file
fullscreen
Switches a window or UI element to fullscreen mode
file.read.lines
Reads a specified file line by line into a list
maximize
Minimizes a window to the taskbar or dock
file.write
Writes data to a specified file, creating or replacing it
minimize
file.append
Appends data to the end of a specified file without replacing it
exclusive
Enables exclusive mode restricting other operations
file.remove
Removes a specified file from the file system
border
Border properties or visibility for a UI element
file.move
Moves a specified file to a new location
filedrop
File drag-and-drop capabilities within the application UI
file.copy
Copies a specified file to a new location
dialog
Dialog box for user prompts or options
file.rename
Renames a specified file
dialog.file
Opens a file selection dialog
file.link
Creates a hard link to a specified file
effect
Applies visual or audio effect to a UI element
file.link.exists
Checks if a hard link exists at the given path
effect.remove
Removes applied effect from a UI element
file.info
Retrieves information about a specified file
 
file.size
Returns the size of a specified file in bytes
input
file.permission
Retrieves or sets permissions for a specified file
tap
Simulates a tap gesture
file.time
Gets or sets the modified timestamp for a specified file
key
Key binding
file.sha256
Computes the SHA256 checksum of a specified file
key.remove
Removes a key binding
file.crc32
Computes the CRC32 checksum for a specified file
key.enable
Enables key binding
file.base64
Encodes a specified file to base64 format
key.disable
Disable key binding
file.zip
Compresses a specified file into a ZIP archive
key.press
Simulates a key press event
file.zip.list
Lists the files contained within a ZIP archive
keyboard
Keyboard information
file.zip.exists
Checks if a specific file exists within a ZIP archive
mouse
Mouse information
file.zip.read
Reads a specific file from within a ZIP archive
mouse.lock
Locks the mouse cursor to prevent it from leaving a designated area
file.zip.remove
Removes a specific file from a ZIP archive
mouse.position
Retrieves or sets the current position of the mouse cursor
file.unzip
Extracts files from a ZIP archive into a specified directory
mouse.shape
Change the shape of the mouse cursor
file.gzip
Compresses a specified file using GZip compression
gamepad
Gamepad information
file.ungzip
Decompresses a GZip-compressed file
gamepad.vibrate
Gamepad vibration
file.void
Compresses the specified file using GZip compression and places it in a Void container
 
file.unvoid
Decompresses a GZip-compressed files and directories from a Void container
game
dir.exists
Checks if a specified directory exists
scene
Create or show a custom game scene
dir.create
Creates a new directory at a specified path
character
Create or change a game character
dir.copy
Copies a specified directory and its contents to a new location
say
Say or show the character's speech
dir.move
Moves a specified directory to a new location
item
Create or change a game item
dir.rename
Renames a specified directory
item.put
Put a game item to the inventory
dir.remove
Removes a specified directory and its contents
item.remove
Remove an item from the inventory
dir.list
Lists the contents of a specified directory
item.on
Put item on
dir.clear
Clears all contents of a specified directory without deleting the directory itself
item.off
Take item off
dir.info
Retrieves information about a specified directory
camera
Create or change a game camera
dir.size
Calculates the total size of a specified directory and its contents
world
Create a game world
dir.permission
Gets or sets the permissions of a specified directory
 
dir.time
Gets or sets the timestamps of a specified directory
 
dir.zip
Compresses a specified directory into a ZIP archive
 
dir.void
Compresses a specified directory into a Void container
 
drive.list
Lists all available drives on the system
 
drive.name
Gets or sets the name of a specified drive
 
drive.size
Total size of a specified drive
 
drive.used
Amount of used space on a specified drive
 
drive.free
Amount of free space on a specified drive
 
drive.info
Retrieves information about a specified drive
 
drive.mount
Mounts a drive to make it accessible
 
drive.unmount
Unmounts a drive
 
drive.create
Creates a new virtual drive or volume
 
drive.resize
Resizes an existing drive partition or volume
 
drive.format
Formats a drive with a specified file system
 
drive.remove
Removes or deletes a specified drive or partition
 
path.drive
Drive component of a specified file path
 
path.dir
Directory portion of a specified file path
 
path.file
File portion of a specified file path
 
path.name
Name of the file without extension from a specified path
 
path.extension
File extension from a specified file path
 
path.strip
Removes the extension from a specified path
 

V O I D format

⌜ V O I D format ⌟ is the data format that inherits the best features of JSON, YAML, CSV and plain text formats. Makes it easier to write and read data, both by human and by program. The format simplifies data creation by removing the use of unnecessary quotation marks, brackets, colons, commas and other symbols. It is possible to combine text and binary data.

extension
    .void
    .txt
mime type
    application/void
influenced by
    json
    yaml
    csv
    python
    assembly
    plain text
container
    settings
    text
    code
    data
    image
    video
    sound
    3d
    subtitles
    font
    file
value type
    text
    number
    boolean
    list
    dictionary
    none
    binary
indent
    tab
        \t
separator
    space
        " "
newline
    line feed
        \n
code
    encode
        [void.encode [1 2 3]]
    decode
        [void.decode "[1 2 3]"]
    write
        [file path/to/file.void [1 2 3]]
    read
        [file path/to/file.void]
    compress
        [file.void path/to/file]
        [dir.void path/to/dir]
    decompress
        [file.unvoid path/to/file.void]
    encrypt
        [file.void path/to/file key]
        [dir.void path/to/dir key]
    decrypt
        [file.unvoid path/to/file.void key]

V O I D format

JSON

text
"text"
text with space
"text with space"
text\ with\ space
"text with space"
"
    multiline
    text
"multiline\ntext"
'
    text
    in
    a
    line
"textinaline"
c:\Users\name\Desktop
"c:\\Users\\name\\Desktop"
"\t\n\r\"\\"
"\t\n\r\"\\"
123
123
-123
-123
0.123
0.123
100_000
100 000
100000
true
true
false
false
none
null
1
text
true
false
none
[
  1,
  "text",
  true,
  false,
  null
]
[
    [1 12.34 Name]
    [2 56.78 Other\ name]
]
[
    [1 12.34 Name
    [2 56.78 "Other name
[]
    1 12.34 Name
    2 56.78 "Other name
[
    [1, 12.34, "Name"],
    [2, 56.78, "Other name"]
]
name
    text
other name
    123
{
    "name": "text",
    "other name": 123
}
[name:text other\ name:123
{"name": "text", "other name": 123}
[
    name
        text

    other name
        123
[
    {
        "name": "text"
    },
    {
        "other name": 123
    }
]
text
    text
multiline text
    "
        multiline
        text
text in a line
    '
        text
        in
        a
        line
escape
    "\t\n\r\"\\"
int
    123 000
float
    1.23
bool
    true
empty
    none
list
    text
    1
    true
    false
    none
list short
    [text 1 true false none]
dictionary
    name 1
        true
    name 2
        true
code
    []
        . "Hi World :D
        = var 123
        . {var}
base64
    *
        ViBPIEkgRCBmb3JtYXQ=
base64 + gzip
    *
        eNoLU/BX8FRwUUjLL8pNLAEAG0QEPA==
base64 short
    *ViBPIEkgRCBmb3JtYXQ=
binary
    *
        3
        <00 01 02>
binary short
   *3 <00 01 02>
binary in hex
    *
        56 20 4F 20 49
        20 44 20 66 6F
        72 6D 61 74
binary in bin
    *
        0000 1000 1111 0001
{
    "text": "text",
    "multiline text": "multiline\ntext",
    "text in a line": "textinaline",
    "escape": "\t\n\r\"\\",
    "int": 123000,
    "float": 1.23,
    "bool": true,
    "empty": null,
    "list": [
        "text",
        1,
        true,
        false,
        null
    ],
    "list short": ["text", 1, true, false, null],
    "dictionary": {
        "name 1": true,
        "name 2": true
    },
    "code": [
        [".", "Hi World :D"],
        ["=", "var", 123],
        [".", "{var}"]
    ],
    "base64": "need to convert",
    "base64 + gzip": "need to convert",
    "base64 short": "need to convert",
    "binary": "impossible",
    "binary short": "impossible",
    "binary in hex": "need to convert",
    "binary in bin": "need to convert"
}

Tip

Use V O I D format highlighting 📃 for Sublime Text.

ToolsDeveloperNew Syntax…Copy · PasteSave as void.sublime-syntax

You can change the color scheme to alternate sections.

PreferencesCustomize Color Scheme

{
  "rules":
  [
    {
      "scope": "variable.void.odd",
      "foreground": "hsl(185, 100%, 50%)"
    },
    {
      "scope": "variable.void.even",
      "foreground": "hsl(185, 100%, 80%)"
    }
  ]
}

V O I D db

A database that uses V O I D · JSON · CSV files for storage directly. Data is cached, indexed and saved automatically. Easy access to data without the need to create complex constructs.

data.json

{
  "name": {
    "subname": "value"
  },
  "list": [
    {
      "index": 1,
      "value": 1
    },
    {
      "index": 2,
      "value": 2
    }
  ]
}
. {data.json/name.subname}
. {data.json/list.index.2.value}
= data.json/list.index.2.value 3

data.csv

index,text,value
1,text 1,value 1
5,text 5,value 5
. {data.csv/index.5.value}
. {data.csv/1.value}
= data.csv/index.5.value 3

V O I D ai

Artificial intelligence that makes it easier to work with data. Third-party AI is currently connected.

ChatGPT

chat "radius of the Earth"
chat "tell me a story"
chat "translate to portuguese: Hi world :D"
translate "嗨,世界 :D"
translate "Hi world :D" portuguese
image "playing cats on the lawn" cats.jpg
code python "mouse movement simulation"

Stable Diffusion

image "playing cats on the lawn" cats.jpg
video "playing cats on the lawn" cats.mp4
image.draw "remove the cat in the center and add more grass" cats.jpg cats-edited.jpg
image.colorize dogs.jpg dogs-colorized.jpg
image.style "cyberpunk" cats.jpg cats-cyberpunk.jpg
image.background cats.jpg cats-without-background.png
image.upscale cats.jpg cats-resize-2x.jpg
image.upscale cats.jpg cats-resize-4x.jpg 4
image.face man.jpg child.jpg man-to-child.jpg

Voice Cloning

voice "Hi world :D"
voice.capture my
voice "Hi world :D" my

Speech Recognition

voice.recognize
voice.recognize talk.mp3
voice.recognize video.mp4

Google TTS

google.voice "Hi world :D"
voice "Hi world :D"

DeepL

deepl.translate "你好,世界 :D"
translate "你好,世界 :D"

Work is underway to develop a custom AI that will run on a V O I D chip.

V O I D game

⌜ V O I D game ⌟ is a game that creates an infinite number of games, vapps and content.

V O I D social

⌜ V O I D social ⌟ is a social network where you can quickly and easily communicate without words with people all over the world.

V O I D os

⌜ V O I D os ⌟ is an Operating System that uses V O I D lang to run and create applications and games.

V O I D tech

⌜ V O I D tech ⌟ are combinable devices controlled by V O I D ai for creating individual stand-alone productions, as well as creating individual products with unique designs and in the required quantities.

V O I D ideology

⌜ V O I D ⌟ is not only about compact technologies, but also an ideology that shows where these technologies are taking us.

V O I D license

⌜ V O I D license ⌟ is a license to distribute digital content and goods. Expressed in a single sentence:

DO WHAT YOU WANT

You can use it in both private and open source, embed it in free or paid products. Modify. Create your own solutions based on it. No need to specify the author.

V O I D task

Important

By adding your code to the repository, you are publishing it under the V O I D licence.

Find out current tasks and payment at V O I D task