A simple scripting language in C++
edit | blame | history | raw

voidscript

A lightweight scripting language designed for simplicity and ease of use.

Features

  • Simple and intuitive syntax
  • Built-in standard library
  • Cross-platform compatibility
  • Easy to embed in other applications
  • No external dependencies

Installation

git clone https://github.com/fszontagh/voidscript.git
cd voidscript
cmake -S . -B build
cmake --build build

Quick Start

# Hello World example
print("Hello,", "", "World!", "\n");

# Variables
int x = 42;
string name = "VoidScript";

// Functions
function $add(int $a, double $b, string $help) {
    int $result = $a + $b;
    print("The sum is: ", $result, "\n");
    print("Help: ", $help, "\n");
    return $result;
}

Documentation

For detailed documentation, please visit the Wiki.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

edit | blame | history | raw
MIT License

Copyright (c) 2025 fszontagh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
CMakeLists 5 KB
README 1 KB
assets/linux/DESCRIPTION 204 b