Brian1KB / roblox-ts

A TypeScript-to-Lua Compiler for Roblox

Home Page:https://roblox-ts.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A TypeScript-to-Lua Compiler for Roblox

Discord server CI Status Coverage Status
 
⚠️ Disclaimer: roblox-ts should only be used for experimental projects until v1.0.0 ⚠️

Why?

As Roblox games become increasingly complex and larger in scope, efficiently writing safe code becomes challenging with Lua. In addition, Lua is difficult to make tooling for.

roblox-ts is designed to solve these problems by compiling TypeScript code directly into Lua, tuned for use in Roblox specifically.

How?

roblox-ts is an attempt to bridge the abilities of TypeScript to work in a Roblox environment. We break down your code into an abstract syntax tree (via ts-morph) and emit functionally similar structures in Lua so that the code behaves the same (minus the type information).

Quick start & Documentation

Ready to dive in? Check out the documentation.

Join the Community!

https://discord.gg/f6Rn6RY

Credits

roblox-ts is powered by ts-morph and is inspired by TypescriptToLua

Games that use roblox-ts

About

A TypeScript-to-Lua Compiler for Roblox

https://roblox-ts.com/

License:MIT License


Languages

Language:TypeScript 93.4%Language:Lua 6.5%Language:JavaScript 0.0%