Repository navigation
Conversation
The reference called missing a good part of what the ledger shows the language takes. Added, each with a short example that compiles and prints what it says: numbers with a fraction and Math, functions as values and closures, errors (try, catch, finally, throw), instances kept by reference, events (on.*), keyHeld, local and sync(), select(), memory.*, the new array and text methods, labels, optional parameters, functions that return records and tuples, sounds made when the script is built, async/await, tasks, Promise.all and race, generators, the files the Explorer imports, and the standard library's modules. Corrected: the TrigScript beside TypeScript table, What a program does not have (each refusal checked with the compiler), the held key, the input carried by the map rather than MSQC and chatEvent, the build's string table, nested functions seeing the outer locals, const b = a copying an array, and the stale "Still to come". The rest of the file reads in shorter sentences. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01En4SHqafb1QFJ4xgbUkAe5
…dashes The front matter points at the guide's "TrigScript and eudplib" page. The uncaught error is quoted as the game says it, with its full stop, and memory.vision.countdown says what writing 1 does, as its hover does. The version notes and the contributors' table say their asides with commas, colons and brackets instead of paired dashes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01En4SHqafb1QFJ4xgbUkAe5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
"The language" was checked feature by feature against
ledger/, and the ledger won where they differed. The rest of the README reads in shorter sentences.Added, each with a short example that compiles (and, where it prints, a
// what it showsthat the test holds against Simulate):fixed,Math.sqrt,hypot,sin,cos,tan,atan,atan2, rounding, decimals in a printed text), Functions as values (kept in a variable, an array, a field or aMap; closures), Errors (try,catch,finally,throw, classes of error,e.stack, a stack overflow as aRangeError), Events (on.created,died,killed,morphed,order), Sounds (playWav,tone,noise,pluck,fm,silence, effects,mixdown,together,sounds.Name), Files the script imports (.video,.image,.sound,.notes,cover()), The standard library (math, random, timers, signals, ui, cutscene, fog, screen, music;reserveLocation).async/await,nextFrame,until,start()and tasks,Promise.all/race/any,.then, generators,for await.protected, instances kept by reference.keyHeld,on.key,on.chat,local.*,await sync(),select(),centerLocationwith a size.memory.game.frame,memory.map.*,memory.vision.countdown.shift,unshift,splice,at,lastIndexOf,joinof numbers. Texts:split,replace/replaceAll,trim*, upper and lower case,charCodeAt,parseInt,isNaN, a boolean in a text, lines of JSX.number | undefined, players in variables, labels,const enum,namespace,comment(), aMapkeyed by a union of texts.Corrected:
docs/eud-plan.mdis gone.keyHeldexists.const b = acopies an array.waves.push(w)refused, no type parameters on a class.displayText(text, false)follows the player's subtitle setting.Not verified
chatted's{n}"up to 1 048 575" may be the MSQC limit. On the own build the limit depends on the map's size.program()'s hover incompiler/declarations.tsstill says programs are built by the eudplib plugin. Out of scope here.Checked
npx vitest run tests/readme.test.ts: 46 passed (30 before).npx tsc -p tsconfig.json: clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01En4SHqafb1QFJ4xgbUkAe5