Pika-Software / gm_rant

Rant language in gmod!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gm_rant

Rant template language right in Garry's Mod

Currently this module is built with Rant 4 (4.0.0-alpha.33)

API

rant.VERSION = "x.y.z" -- Version of gm_rant module

-- Compiles rant code into program
-- Returns RantProgram on success
-- On failure returns nil and error string
rant.compile(code: string) -> RantProgram/nil, nil/string

-- Compiles and runs rant code. Returns program output or error
-- Arguments must consist of table with string key and any value
rant.run(code: string/RantProgram, args?: table) -> RantOutput/nil, nil/string

About

Rant language in gmod!

License:MIT License


Languages

Language:Rust 100.0%