https://github.com/seggan/rol
A C-family language compiled to Lua
https://github.com/seggan/rol
Last synced: 4 months ago
JSON representation
A C-family language compiled to Lua
- Host: GitHub
- URL: https://github.com/seggan/rol
- Owner: Seggan
- License: apache-2.0
- Created: 2022-10-11T01:37:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-17T19:18:56.000Z (almost 3 years ago)
- Last Synced: 2025-08-03T09:12:17.410Z (11 months ago)
- Language: Kotlin
- Size: 2.31 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rol
***THE LANGUAGE IS STILL BEING DEVELOPED, MOST FEATURES DON'T YET WORK***
Do you hate Lua's arcane syntax, verbose keywords, and the difficulty of OOP? Do you want a safe language with the expressiveness of modern programming languages? Do you wish to use a different language but are forced by your platform to use Lua? Rol is just for you.
Rol is a programming language that compiles to Lua, do you don't need to fear moving to a different platform. It has many of the features of more modern programming languages, as well as a modern syntax. It is statically typed (although that can be disabled), but tries to infer as many types as possible, so they don't get in your way.
See the `docs` directory for more info and syntax examples.
## Usage
Rol programs are compiled/run using the command `java -jar Rol-.jar [OPTIONS] FILE`, where `FILE` is the input file.
List of options:
| Name | Short Name | Description |
|-------------------|------------|---------------------------------------------------------------------------|
| `--output PATH` | `-o PATH` | Sets the output file to `PATH` |
| `--include PATHS` | `-I PATHS` | Adds additional directories to search for dependencies |
| `--interpret` | `-i` | A flag that makes the compiler interpret the file instead of compiling it |
| `--help` | `-h` | Shows the help message |