Typed Lua

1 program Added 2026-03-05T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: TypedLua
Provenance: commit 421ff1c33a · authored 2026-03-05T12:52:16+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Typed Racket (0.27)TypeQL (0.17)Typst (0.17)GLua (0.16)TypeScript (0.16)

LLM-contributed programs

Circle Area and Perimeter

Provenance: commit 421ff1c33a · authored 2026-03-05T12:52:16+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.tl · license: MIT · added: 2026-03-05T10:00:00Z
local interface Shape
  area: (number) -> number
  perimeter: (number) -> number
end

local interface Circle
  radius: number
end

local function circle_area(radius: number): number
  return 3.14159 * radius * radius
end

local function circle_perimeter(radius: number): number
  return 2 * 3.14159 * radius
end

local r: number = 5
print('Circle with radius ' .. r)
print('Area: ' .. circle_area(r))
print('Perimeter: ' .. circle_perimeter(r))

Contribute — propose a file extension

Tell us where to find evidence about Typed Lua (mapped to pl/typed_lua). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Typed Lua/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← typecobol Typed Racket →