Skip to content

Instantly share code, notes, and snippets.

View Rerumu's full-sized avatar

Rerumu

View GitHub Profile
@Rerumu
Rerumu / Luau.Web.lua
Created November 30, 2023 19:13
Luau Web module, compiled to WebAssembly, then to Luau.
This file has been truncated, but you can view the full file.
-- Brought to you by `https://github.com/Rerumu/Wasynth`
local Integer = (function()
local Numeric = {}
local NUM_ZERO, NUM_ONE, NUM_SIX_FOUR
local NUM_BIT_26, NUM_BIT_52
local bit_lshift = bit32.lshift
local bit_rshift = bit32.rshift
@Rerumu
Rerumu / luau_in_luajit.lua
Created July 22, 2022 05:43
Luau translated to LuaJIT, as a standalone script
This file has been truncated, but you can view the full file.
-- Roblox's Luau as a LuaJIT 2.1.0 command line script
-- Translated using https://github.com/Rerumu/Wasynth
local rt = (function()
local module = {}
local bit = require("bit")
local ffi = require("ffi")
local u32 = ffi.typeof("uint32_t")
local u64 = ffi.typeof("uint64_t")
@Rerumu
Rerumu / luau_in_luau.lua
Last active May 22, 2024 14:49
Luau translated to Luau, as a Studio compatible script
This file has been truncated, but you can view the full file.
-- Roblox's Luau as a Luau script
-- Translated using https://github.com/Rerumu/Wasynth
local luau_script = [[
print("Hello, World!")
]]
local Integer = (function()
local Numeric = {}