Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

roblox-compilers/roblox-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roblox-c

C and C++ to Luau compiler for Roblox.

Supports

C with:

  • Enums
  • If statements
  • Return
  • Functions
  • Calling functions
  • Binary operators
  • Unary operators
  • Preprocessor
  • Struct
  • do-while loops
  • Strings
  • elseif
  • For loops
  • casting
  • else
  • * & &
  • Unions
  • main functions
  • Gotos (Lua 5.2+)
  • Short & Long values
  • ++ & --
  • Arrays
  • Indexing
  • switch (with fallthrough)
  • Binary operators (<<, >>, |, &)

C++ with:

  • everything in C
  • classes
  • constructors
  • delete
  • new
  • namespaces
  • destructors
  • inhertiance

Todo

  • ->
  • indexing
  • this
  • Roblox bindings
  • structs in unions

About

C and C++ to Luau compiler for Roblox.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages