MoonCATS
Extracts LuaCATS annotations from MoonScript sources into LuaLS type definitions for IntelliSense and API-doc generation.
Module l0.MoonCats in feed DependencyControl 7973b7b by line0.
Channels:
stable (Default):
Version: 0.7.0
Release Date: 2026-07-24
Required Modules:
No Modules Required
Files:
- .moon:
6DCB5356005FC7048A4D15C5F65D017C47B35476✅ - /Parser.moon:
555504F2E546FFD9DBA5A9756AEAAC9A486C99A8✅ - /Emitter.moon:
FBE53CF7A471A1CAB92B87BFB6DEBF991A4E2D43✅ - /Diagnostics.moon:
44646FD16DF6FE48C7DFF3AC9D8B43ACF9D7636A✅ - /annotations.moon:
4B8389755C45A9A65F7BC7880AE025427D31D22F✅ - /DocRenderer.moon:
371B726FB05EE39BD6DF1E086588E3A31A6AE1DB✅ - .moon: Test
F906E8E37CBDE31469A4F2227FC21D882D4FB5EE✅ - /annotations.moon: Test
DA3E4775DC33B82BF30443D55E9E35923629C9C8✅ - /DocRenderer.moon: Test
E8EBB732700725A7214BDEA0A82AC1020575A3C2✅ - /Parser.moon: Test
FEE1E627C58E32871BF7DB44D8647E96D0DFCD13✅ - /Emitter.moon: Test
51FF7EC64C90F549F7849FE2171D53F093A18FED✅ - /MoonCats.moon: Test
C39D3DA2C999D8130E8D99ACE7F65E247FF91EDD✅
Changelog:
0.7.0:
- feat: Initial release: extracts LuaCATS annotations from MoonScript sources into LuaLS .d.lua type-definition files, with enum-class synthesis, constructor overloads, cross-module type resolution, and an annotation lint mode.
- feat: Renders API documentation straight from the parsed annotations: one markdown page per module with MoonScript and Lua call forms for every method, constructor parameter tables, cross-linked types, enum member tables with per-value descriptions, deprecation notices, and private members omitted (or badged on request). Emits ready-to-serve mkdocs or mdBook site scaffolding.
- feat: Class fields, enum exports, and instance defaults are declared as typed
@fieldannotations on the class, and re-exported local functions resolve to their full signature and documentation, so both IntelliSense and generated docs show real types instead of placeholders.
Reverse Dependencies:
No known Macros/Modules depend on this Module.