Frityet

Results 66 issues of Frityet

This PR implements macro support for Teal. [Project Proposal](https://summerofcode.withgoogle.com/programs/2025/projects/kiO8b1Ql)

```lua local record Box where (function(k: any): boolean return k is T end)(self.children[1]) children: {any} end local a: Box | Box = (function(): Box return { children = { 1...

```lua local interface BaseResult where self.ok ok: boolean unwrap: function(self): TValue end local record Ok is BaseResult where self.ok == true value: T end local record Error is BaseResult where...

semantics

Before this fix, teal would get confused when you would do `make LUA=./lua` where `./lua` would be the local lua scripts that luarocks make, because the actual teal transpiler uses...

```lua local type Error = {TRet | nil, TErr} local type Error = Error local function divide(x: number, y: number): Error if y == 0 then return { nil, "Cannot...

feature request

I would like to make an SDL backend for this project, would I just need to read through the existing backends? is there other documentation for it?