Skip to content
RaytolfasPublic

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

RayQuiro

CI Release Stars License

RayQuiro is a programming language with a bytecode VM, native compiler (TinyCC / LLVM), C FFI, raw byte buffers, threads/channels (spawn / channel), and built-in modules for 2D/3D graphics, desktop UI, and HTTP servers.

Installation

Windows (PowerShell)

irm rq.raytolfas.cc | iex

Linux / macOS (Bash)

curl -s rq.raytolfas.cc/linux | bash

Prebuilt binaries are also available in Releases.

Quick Start

fn main() {
    print("Hello, RayQuiro!");
}

main();

Run:

rqio run hello.rq

Build native binary:

rqio build hello.rq -o hello --release

CLI

Command Description
rqio run <file.rq> [--watch] Run script (--watch for hot-reload)
rqio test [path] Run test blocks and test suites
rqio build <file.rq> [-o out] Compile to native binary (--tcc, --llvm, --release, --target)
rqio check <file.rq> Check syntax and AST
rqio fmt <file.rq> Format source file
rqio repl Start REPL
rqio cc <files.c> [-o out] Compile C files with bundled TinyCC
rqio lsp Start LSP server
rqio debug <file.rq> [--port N] Start DAP debug server
rqio init / add / install / remove / list Package manager (rqio.json)

Build from Source

  • Windows: ./build.ps1
  • Linux / macOS: ./build.sh
  • Tests: ./rqio test

Links

Releases

Sponsor this project

Contributors

Languages