LuneScript

1 program Added 2026-02-24T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: lunescript
Provenance: commit 5c66e8b1fe · authored 2026-02-24T21:24:48+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

ReScript (0.44)LiveScript (0.40)RiveScript (0.39)ZScript (0.38)AppleScript (0.37)

LLM-contributed programs

Nilable parameter and unwrap

Provenance: commit 5c66e8b1fe · authored 2026-02-24T21:24:48+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.lns · added: 2026-02-24T00:00:00Z
// @lnsFront: ok
fn add( val:int! ):int {
   return 10 + unwrap val default 0;
}
print( add( 1 ) ); // 11
print( add( nil ) ); // 10

Contribute — propose a file extension

Tell us where to find evidence about LuneScript (mapped to pl/lunescript). 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/LuneScript/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← LunarML Lurk →