Skip to content

Releases

nightly

nightly Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Oct 22:23
1a5b1fe

Master at 1a5b1fe, 2026-11-16: its newest commit CI passed on. Updated every night; it reports the version of its sources.

Since v0.7.0:

  • feat(nix): cjls nix package (#574)
  • fix(loader): follow symlinked SDK and project inputs (#667)
  • fix(macros): keep std runtime dependencies in the SDK (#663)
  • fix(inference): extend standalone lambda body constraints (#655)
  • feat(project-model): link native dependencies for workspace macros (#654)
  • feat(project-model): report SDK versions against support window (#652)
  • fix(loupe): preserve incoming calls through re-export aliases (#651)
  • feat(loupe): expose loaded project and semantic scopes (#649)
  • fix(project_model): select host tables for build-script dependencies (#648)
  • feat(loupe): expose syntax traversal and HIR provenance (#647)
  • refactor(cli): inject effective invocation output with jian (#646)
  • feat(hover): show instantiated call signatures (#644)
  • fix(project_model): propagate selected CJMP feature requests (#642)
  • feat(loupe): expose identity-based semantic relationships (#641)
  • feat(loupe): expose complete retained resolution evidence (#640)
  • test(macros): compare built-in and served std expansions (#639)
  • fix(loupe): preserve private names and package enum constructors (#638)
  • index(adr): the ADR index written from the headers
  • feat(cjformat): sort and combine imports (#629)
  • index(adr): the ADR index written from the headers
  • feat(source-change): share checked text and file changes (#627)
  • refactor(cli): unify command execution wrappers (#626)
  • refactor(cli): migrate generators to jian (#623)
  • refactor(macros): overload Answered for results without captured output (#619)
  • feat(loupe): infer standalone lambda parameters from their bodies (#618)
  • fix(loupe): report declaration collisions and overload conflicts (#617)
  • fix(project-model): select dependencies by cjpm build mode (#616)
  • index(adr): the ADR index written from the headers
  • feat(loupe): expose immediate call evidence with coverage gaps (#610)
  • index(adr): the ADR index written from the headers
  • refactor(cli): declare commands with jian (#609)
  • fix(macros): retain exceptions from SDK expansion failures (#614)
  • feat(loupe): expose revision-bound semantic source objects (#607)
  • ci(sdk): test std and e2e across supported releases (#613)

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 12:32

Features

  • (cjls) a diagnostic pull answers unchanged when the report is the same (#51, D131) (#428) - (f61d6c6) - FilaCo
  • (cjls) textDocument/completion and completionItem/resolve (#203) (#362) - (d5d5e5f) - FilaCo
  • (cjls) expand macro, as cjls/expandMacro and as a read-only .cj.macrocall (#325) (#327) - (8e19341) - FilaCo
  • (cjls) the workspace's macros built by cjc and run in the SDK's macro server (#176) (#326) - (f5309a1) - FilaCo
  • (cjls) the server's own directory, /.cache/cjls, with a layout, a cleanup and a lock (#333) (#335) - (12ea73e) - FilaCo
  • (cjls) semantic tokens augment the client's grammar (D105) (#331) - (8eb1515) - FilaCo
  • (cjls) a document opened blank is given its package line (#294) (#301) - (2434a60) - FilaCo
  • (cjsyntax) reparse the block around an edit, for completion's marker (D110) (#350) - (8d01b20) - FilaCo
  • (loupe) an operator none of whose candidates fits is reported at the operator (#244, D134) (#438) - (e13eb88) - FilaCo
  • (loupe) the members a member overrides or implements, and those overriding it (#389, D128) (#410) - (260190e) - FilaCo
  • (loupe) references read only the files whose words name the name (#415) - (9d99921) - FilaCo
  • (loupe) a test file sees std.unittest and its macros unimported, as cjc --test does (#255) (#412) - (1a72fe1) - FilaCo
  • (loupe) a generic call is solved for each combination of the overloads its arguments name (#243) (#411) - (5ba6ef9) - FilaCo
  • (loupe) an expression macro's expansion is parsed by where its call stands and read as a file (#368) (#409) - (5d41d84) - FilaCo
  • (loupe) completion outside a body: types, imports, keywords, overrides (#401, D127) (#407) - (34de89a) - FilaCo
  • (loupe) an overloaded function passed to overloads fits only those of a parameter one of it takes (#243) (#400) - (a0bb4be) - FilaCo
  • (loupe) std's macros run in the macro server, under the calls cjls expands itself (#176, D123) (#384) - (6108442) - FilaCo
  • (loupe) references across the workspace, searched where the declaration is visible (#387, D124) (#395) - (1b86519) - FilaCo
  • (loupe) a workspace macro called in a body is asked of the macro server, and expand macro shows it (D117) (#383) - (c68a12e) - FilaCo
  • (loupe) a lambda passed to a call that fails has parameters of why it fails (#282) (#382) - (72f6cf0) - FilaCo
  • (loupe) std.unittest's attribute arguments read as code — x in src, @configure, @types (#191, D115) (#372) - (3d3961a) - FilaCo
  • (loupe) hover on the names of an import and on a package (#379) - (012af48) - FilaCo
  • (loupe) a body cjls writes in an expansion of its own is a comment naming the macro (D118) (#376) - (0ed05b6) - FilaCo
  • (loupe) a quote's interpolations read as code of the macro (#195, D116) (#366) - (41b4fbb) - FilaCo
  • (loupe) expand macro in a whole declaration, hover on a macro call, @derive in a workspace macro's input (D114) (#360) - (1f26204) - FilaCo
  • (loupe) completions at a cursor, members after a dot and names in scope (#203, D111) (#352) - (d551ebe) - FilaCo
  • (loupe) a call's arguments matched to each candidate's parameters before it is tried (D110) (#254) (#351) - (82acceb) - FilaCo
  • (loupe) go to definition on imports and packages; hover shows the docs and interfaces macros hide (#348) - (8028633) - FilaCo
  • (loupe) hover tells what the language builds in, from the Cangjie docs (#344) (#347) - (86ef4dd) - FilaCo
  • (loupe) the macro server's answers as an input, and the requests for them (#176) (#314) - (d79aed1) - FilaCo
  • (loupe) @when evaluated against the package's cfg, inactive code greyed (#149) (#302) - (ca1bf93) - FilaCo
  • (loupe) mismatches and counts of arguments reported, the diagnostics gate (#53) (#296) - (4d7a016) - FilaCo
  • (macro_server) cjsyntax's tokens as cjc's, numbered by the SDK's Tokens.inc (#176) (#305) - (6718d6a) - FilaCo
  • (macro_server) the SDK's LSPMacroServer driven over its own protocol (#176) (#295) - (82b939b) - FilaCo
  • (project_model) multiplatform source sets and common/specific (#318) (#323) - (90fa6b2) - FilaCo

Bug Fixes

  • (ci) run cjc behind a shim that closes inherited descriptors (#342, D125) (#394) - (78abaff) - FilaCo
  • (cjls) a read-only request the files changed under runs again on a fresh snapshot (D122) (#381) - (a1f088f) - FilaCo
  • (cjls) cjc links a macro library on macOS without envsetup's SDKROOT (#361) - (36eef08) - FilaCo
  • (cjls) give way before stdin's read blocks, so a request's spawn starts (#324) (#330) - (e18df1f) - FilaCo
  • (cjls) diagnostics pulled again after another file changes (D100) (#317) - (46a87a6) - FilaCo
  • (loupe) an item the macro server's output replaces is checked in that output alone (D132) (#439) - (a8f8ddd) - FilaCo
  • (loupe) hover shows what @Derive/@DeriveExt add once the macro server expanded them (#430) - (40c3b50) - FilaCo
  • (loupe) a file that is no test sees no constructor only a test imports (#429) - (b3d8d1c) - FilaCo
  • (loupe) a name after an enum's constructors lists the member keywords (#427) - (eebb59f) - FilaCo
  • (loupe) completion lists no operator function as a member (#419) - (b5e8e00) - FilaCo
  • (loupe) a type parameter's declaring name means the type parameter (#398) (#416) - (5488198) - FilaCo
  • (loupe) a parameter in a macro call is a parameter of its declaration (#413) - (5a2c198) - FilaCo
  • (loupe) doc comments and macro calls on primary constructor parameters (#377, #357) (#380) - (b4bf468) - FilaCo
  • (loupe) macro attributes keep nested brackets; go to definition picks the macro overload a call runs (#349) - (3d69914) - FilaCo
  • (loupe) a file of no package finds lang items in the SDK's std.core, as it finds a builtin type's extends (#319) (#321) - (4d6cbc6) - FilaC...
Read more

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 14:49

Features

  • (cjls) an open document in no loaded package finds its own project (#265) (#291) - (c4d0eb9) - FilaCo
  • (cjls) a document opened among the files a loose root left out is analyzed (#213) (#260) - (13932ce) - FilaCo
  • (cjls) settings from initializationOptions, workspace/configuration and didChangeConfiguration, their schema by cjls --config-schema (#259) - (cab89e0) - FilaCo
  • (cjls) on Windows, the server's child dies with its parent (#258) - (ba0a7ad) - FilaCo
  • (cjls) textDocument/rangeFormatting, the whole file's edits on the lines a range covers (#237) - (d80bb3b) - FilaCo
  • (cjls) cjls fetch-src puts std's sources of the SDK's nightly into its src (#210) (#224) - (29817ea) - FilaCo
  • (cjls) the .cjo of the binaries are watched, and an update read without a restart (#141) (#220) - (c09d4fa) - FilaCo
  • (loupe) an extend of a type alias extends the type it expands to (#277) (#290) - (e774a31) - FilaCo
  • (loupe) a type a macro not read is called on may have any supertype (#175) (#288) - (2bfb758) - FilaCo
  • (loupe) what std.unittest's macros declare, as expansions (#175) (#264) - (95e3f8c) - FilaCo
  • (loupe) semantic tokens tell names at their use by what they mean (#229) - (10ec426) - FilaCo
  • (loupe) a type not known is an error or what the analysis cannot find, a qualifier no value (#53) (#257) - (955b329) - FilaCo
  • (loupe) optional chains lowered into the matches cjc desugars them to, Some and None lang items (D70) (#228) - (b1ce907) - FilaCo
  • (loupe) document highlight, the names of a file meaning what one does (#200) (#223) - (72f6307) - FilaCo
  • (loupe) hover shows a declaration's signature and docs, a value's inferred type (#199) (#222) - (3b37855) - FilaCo
  • (loupe) what std's @derive adds, an expansion read as any file (#175) (#221) - (5c48668) - FilaCo
  • (loupe) coalescing, pipelines and compositions typed as cjc desugars them, std.core named through lang items (D66) (#48) (#217) - (6a675b7) - FilaCo
  • (loupe) go to definition into std's sources, at the positions of its .cjo (#210) (#215) - (e6afb9a) - FilaCo
  • (loupe) an operator of a type is a call of its member, the language's own tried first (D64) (#48) (#198) - (a093cb1) - FilaCo
  • (loupe) macro names resolved through imports (#175) (#197) - (d36f454) - FilaCo
  • (lsp_codegen) codecs for the requests the server sends, and registrations typed per method (#208) - (a33cf12) - FilaCo
  • (project_model) loose files with a main each are programs of their own (#211) (#219) - (9a05b43) - FilaCo

Bug Fixes

  • (calca) an input created in a batch is stamped with the revision before it, and an appended declaration runs no body again (#262) (#289) - (fc3aa06) - FilaCo
  • (calca) a write that changes no input opens no revision (#233) - (f612d76) - FilaCo
  • (cjformat) a body's { on a line of its own joins the line before (#252) - (bc98a04) - FilaCo
  • (cjls) the load-progress test sets std's sources through Settings (#274) - (a75fc17) - FilaCo
  • (cjls) a change of workspace folders is one revision (S12) (#207) - (87ec1be) - FilaCo
  • (cjsyntax) a declaration in macro calls has the comments before them as its docs (#231) - (5cdb4c3) - FilaCo
  • (docs) an open pull request clashes only by the ADRs it adds, not by master's (#232) - (9e41b01) - FilaCo
  • (loupe) a member named through its type or alone is the one cjc takes (#266) - (5b78194) - FilaCo
  • (loupe) a type parameter's hover shows its bounds, or nothing (#236) - (960c881) - FilaCo
  • (project_model) cjsdk's default toolchain is found through its link, a cjc with no SDK around it is passed over (#194) - (326917e) - FilaCo

Performance Improvements

  • (calca) a dependency keeps its memo's entry or interned slot, and answers from it without a lock (#269) - (2df0749) - FilaCo
  • (fjson) a union reads its value on the rewound reader, no slice and no second reader (#225) - (ac29c7c) - FilaCo
  • (jsonrpc) params are read in place when the method came first, by the route's own reader (D73) (#230) - (9568779) - FilaCo

Documentation

  • (adr) the workspace's macros run in the SDK's LSPMacroServer (D87) (#284) - (6b9b99a) - FilaCo
  • (adr) JSON is read by the pull reader, not through a tape index (D86) (#270) - (75d160c) - FilaCo
  • (adr) what a name means is kept where it was resolved (D84) (#267) - (afbc02a) - FilaCo
  • (prior-art) cjls's column as master has it, calca's accumulators decided against (#286) - (605d5c0) - FilaCo
  • (prior-art) how R1, R2, R3, R6 and R7 report semantic errors and keep them from cascading (#238) - (9fff4cd) - FilaCo

Tests

  • (cjls) the runtime's used heap is not held to its limit (#234) - (2e04993) - FilaCo
  • (perf) scenarios for definition, hover and completion, and a threshold on queries executed (#261) - (0c2ca52) - FilaCo
  • (perf) cjls is ready when its load's progress ends, not at its initialize answer (#209) - (26df290) - FilaCo

Refactoring

  • (loupe) inference looks a value's members up on its type (#275) - (54b01a5) - FilaCo

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 16:54
5eb0ded

Features

  • (cjformat) a formatter of our own on the syntax tree, as textDocument/formatting and cjls fmt (#184) - (d779a48) - FilaCo
  • (cjls) selection ranges from the syntax tree (#42) (#186) - (38586ea) - FilaCo
  • (cjls) the workspace loaded on a spawn, in batches between the messages, reporting $/progress (#84) (#183) - (d5c3daa) - FilaCo
  • (cjls) textDocument/definition from definitionAt (#169) (#178) - (66e5e4e) - FilaCo
  • (loupe) an overload taken by trying each candidate, the nearest level first, the most specific (D63) (#48) (#185) - (156af2d) - FilaCo
  • (loupe) an expression macro's arguments parsed as an argument list and resolved before expansion (#174) (#182) - (1a2d61a) - FilaCo
  • (loupe) folding ranges from the syntax tree, textDocument/foldingRange (#41) (#180) - (f1337e8) - FilaCo
  • (loupe) type arguments not written inferred per call, as cjc's local synthesis (D57) (#48) (#177) - (6a525c5) - FilaCo
  • (loupe) a body's types inferred locally in one query, a member of a value looked up from its type (D55) (#48) (#168) - (c9fec2d) - FilaCo
  • (loupe) a type an interned Ty, a declaration signature lowered to it, of a source or a .cjo (D54) (#48) (#163) - (db23b75) - FilaCo
  • (loupe) the extends a file may see looked for in its interfaces' packages, those it sees chosen at the lookup (D53) (#48) (#161) - (9585362) - FilaCo
  • (loupe) a name after a dot resolved by names up to a value, members looked up from a type (D52) (#48) (#160) - (9f0d522) - FilaCo
  • (loupe) a body lowered to HIR, its scopes, and what a name in it means (D49) (#48) (#156) - (9c44137) - FilaCo
  • (loupe) a signature a query of its declaration, the paths in its types resolved (D48) (#48) (#153) - (b4a4671) - FilaCo
  • (loupe) a file's scope, the prelude a glob of every file, globs read at the lookup (D47) (#48) (#152) - (af1187e) - FilaCo
  • (loupe) imports resolve down the packages, a package's exports (D46) (#48) (#151) - (30584a3) - FilaCo

Bug Fixes

  • (ci) the nightly filters CI's runs for success itself, scheduled off the hour (#158) - (08c0cd0) - FilaCo
  • (cjls) a folder come or gone is watched and followed, as VS Code reports it as one event (D58) (#94) (#181) - (5f1cea4) - FilaCo
  • (cjls) a document whose diagnostics throw no longer stops the push of the ones after it (#162) - (ba642ce) - FilaCo
  • (jsonrpc) the end of input cancels what is in flight, a frame over the limit is answered and skipped (#109) (#179) - (fc32f54) - FilaCo

Documentation

  • (adr) the ADR index written after the merge by a bot, an id taken once (D56) (#147) (#173) - (8311d1f) - FilaCo

Tests

  • (cjls) what the server advertises checked against its routes, a file's path from the snapshot (#106) (#165) - (3d08b0a) - FilaCo

Build system

  • -O2 a release option, the coverage built with -g and no warning (D51) (#157) - (33cb913) - FilaCo

Continuous Integration

  • the toolchain from the GitHub mirror, checked against sha256 pinned from gitcode (D62) (#190) - (975a6b3) - FilaCo
  • code coverage of the workspace with cjcov, shown as a README badge (#155) - (6ea8f21) - Valerie

Miscellaneous Chores

  • (claude) merged worktrees pruned at session start, a Sonnet scout agent, a change-coverage skill (#167) - (0f0605b) - FilaCo

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 13:57

Features

  • (calca) an LRU evicts as it touches, within a revision too (#85) (#132) - (32f6443) - FilaCo
  • (calca) a cycle across handles recovers by its fallbacks, as on one handle (#99) (#126) - (6bd491b) - FilaCo
  • (calca) tracked methods, @CalcaTracked on an extend and on its methods (#14) (#78) - (f4d0a3e) - FilaCo
  • (calca) batched writes, every set and create in storage.batch one revision (#14) (#77) - (19dc579) - FilaCo
  • (calca) recover from a cycle with @CalcaTracked[cycleResult: fallback] (#14) (#75) - (3b25b91) - FilaCo
  • (calca) one computation per memo; a wait that would close a loop across threads is a cycle (D29, #14) (#74) - (11a6cc9) - FilaCo
  • (calca) tracked functions of several arguments, keyed by one generated struct (#14) (#72) - (c180f6e) - FilaCo
  • (calca) singleton inputs, @CalcaInput[singleton] with get and tryGet (#14) (#71) - (55691d8) - FilaCo
  • (cjls) start over with a heap of 2 GB unless cjHeapSize is set; a load keeps a sixteenth of the heap (D31) (#81) - (0610d84) - FilaCo
  • (cjls) load the workspace, follow its files and folders, answer workspace/symbol (#12) (#79) - (5534b50) - FilaCo
  • (cjls) cjls/memoryUsage, the runtime's heap and collections on request (#22) (#64) - (d176002) - FilaCo
  • (cjo) a reader of .cjo files, its views generated from CjoFormat.fbs by fbs_codegen (#68) (#134) - (9cc6e03) - FilaCo
  • (cjsyntax) Has* interfaces of the views, and a name without its backquotes (#103) (#128) - (a48d6f9) - FilaCo
  • BREAKING (ftoml) TOML 1.1 of our own, ToToml and FromToml derived through @serde; cjtoml and DataModel go (D25) (#58) - (3225c41) - FilaCo
  • (index_map) == on IndexMap and IndexSet, and ConcurrentIndexMap.getOrAdd (#117) (#146) - (92e14b0) - FilaCo
  • (loupe) a package's def map, its declarations by name (D45) (#48) (#150) - (7415f63) - FilaCo
  • (loupe) std and the binary dependencies as inputs from their .cjo, lowered into the item tree (#68) (#142) - (ba4100e) - FilaCo
  • (loupe) the .cjo of std and of bin-dependencies are inputs of their bytes, lowered into item trees (#68) (#136) - (11b45d8) - FilaCo
  • (loupe) items named by ids edits elsewhere leave alone, and a file's item tree (#97) (#122) - (463d1c5) - FilaCo
  • (project_model) a project model in loupe, found from cj-project.json, cjpm.toml or loose files (#69) (#121) - (c76ab7e) - FilaCo

Bug Fixes

  • (calca) a query swallowing calca's unwinding stores no memo; Cancelled is CancelledException (#100) (#144) - (0ebfee7) - FilaCo
  • (calca) a memo keyed by several values goes with any interned one among them (#98) (#125) - (f337cc9) - FilaCo
  • (calca) overloaded tracked functions, their generated names mangled with the parameter types (#14) (#92) - (988e0f7) - FilaCo
  • (ci) stamp a package's files with one mtime, so cjpm reads its imports again (D28) (#73) - (7e6a42d) - FilaCo
  • (cjls) an extend goes out as a Namespace symbol, not an Object (#133) - (cbdda2c) - FilaCo
  • (cjsyntax) a line starting a top-level-only declaration ends an unclosed block (#102) (#138) - (28144eb) - FilaCo
  • (ginkgo) a grammar bug gives an error tree, not an exception, and rewinding counts towards the step limit (#101) (#131) - (2084fb0) - FilaCo
  • (jsonrpc) every spawn and the read loop catch an Error too, answered InternalError and logged (S13, #83) (#130) - (a7ff3f1) - FilaCo
  • (syntax_codegen) an accessor finds a child by the tokens between it and its rivals (D41) (#139) (#143) - (895158c) - FilaCo

Performance Improvements

  • (calca) a hit is generic code no more, takes no lock and allocates nothing (#14) (#88) - (7332a6d) - FilaCo
  • (calca) a hit takes no gate lock and one turn of its table's lock (#80) - (b32f12f) - FilaCo
  • (ginkgo) ast accessors walk the green children, making a red node only for a match (#63) - (42a8ef7) - FilaCo

Documentation

  • (adr) resolution is layered as rust-analyzer's, a definition map per package (D44) (#48) (#148) - (bdbd3d6) - FilaCo
  • (adr) D16 links tree-sitter-cangjie at ide4cj, not at a fork (#135) - (37047b1) - FilaCo
  • (adr) note in the index that D25 rounds D24's readFloat64 correctly (#91) - (da50444) - FilaCo
  • comments say what and why, not which library an idea came from (C15) (#96) - (b965e67) - FilaCo
  • split CLAUDE.md per module, the root one a fifth of its size (#70) - (1d09dbb) - FilaCo

Tests

  • (e2e) Zed's capabilities among the editors', captured from Zed 1.22 (D32) (#129) - (4837bc9) - FilaCo
  • (loupe) analysis tests as fixtures, written into the test by running them (D43) (#145) - (273efba) - FilaCo

Build system

  • pin the 1.3.0-alpha.20261002001050 nightly (#118) (#137) - (25de7f5) - FilaCo
  • unused warnings on again and fixed, off only for lsp_types and the tests (#82) - (54be587) - FilaCo
  • incremental builds and tests, clean on a new compiler; CI caches target (D27) (#59) - (e6de718) - FilaCo

Continuous Integration

  • the nightly is the pre-release nightly-build, made once and updated in place (D39) (#140) - (e09c9a4) - FilaCo
  • one process for the server and its editor clients: a nightly, paired branches, the contract's hash (D32, #89) (#93) - (425e7b6) - FilaCo
  • bump the actions group with 5 updates (#90) - (c3df69f) - dependabot[bot]
  • dependabot keeps the actions current, in one monthly PR (#76) - (60235cd) - FilaCo
  • fuzzing without progress report as its broken - (95dd03e) - FilaCo

Miscellaneous Chores

  • the Claude Code session takes LD_LIBRARY_PATH from the SDK env, for Linux (#127) - (47e98e4) - FilaCo

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 13:13
Immutable release. Only release title and notes can be modified.

Features

  • (fjson) a JSON reader and writer over bytes (#32) - (d28a9c0) - FilaCo
  • BREAKING (stdxx) serde's derives ToJson and FromJson under one @serde marker, and the wire on fjson (#40) - (58580da) - FilaCo

Bug Fixes

  • (fjson) read a lone surrogate as U+FFFD, and hold fjson to JSONTestSuite and a fuzzer (D24) (#44) - (36e6861) - FilaCo

Performance Improvements

  • typing 3.8x faster, generics specialized and positions in one descent (#22) (#62) - (b617d26) - FilaCo

Documentation

  • (prior-art) give R9 its row among the references (#67) - (2184e88) - FilaCo
  • open questions move to GitHub issues (#57) - (6e1227a) - FilaCo

Tests

  • (perf) measure speed and memory of language servers over stdio (#23) - (0cd40c3) - FilaCo

Continuous Integration

  • run the tests without the progress report, which fails them now and then (#60) - (c7658b8) - FilaCo

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 19:53
Immutable release. Only release title and notes can be modified.
2c3ae7d

The first release of cjls, a language server for Cangjie written in Cangjie. It reads each file on its own, from its syntax: no names are resolved and no types inferred yet, so everything below holds for code that does not compile as well.

What it does

  • Document symbols (textDocument/documentSymbol): the outline of a file — classes, structs, interfaces, enums and their constructors, extensions, functions and methods, main, macros, constructors, properties, fields, variables, type aliases — nested as declared.
  • Syntax errors as diagnostics: pulled (textDocument/diagnostic) by a client that can, pushed (textDocument/publishDiagnostics) after every change to one that cannot. The parser follows the compiler's own: checked against its test suite (~98k files), it reports no error in a file the compiler parses.
  • Semantic highlighting (textDocument/semanticTokens/full and /range): keywords, including contextual ones where they are keywords; comments, documentation apart; literals and the code inside interpolated strings; operators; builtin annotations and macro calls; names where they are declared, by kind, with declaration, readonly, static and deprecated; type names and builtin types.
  • Document sync: incremental changes, positions in UTF-8 when the client offers it and UTF-16 otherwise.
  • Responsive while typing: every request is answered from a snapshot of the files as it arrived; one the files changed under is cancelled (ContentModified), and results are computed incrementally, only what an edit touched computed again.

Where it runs

  • One static binary for macOS arm64, Linux x64 and Windows x64, each tested end to end with the capabilities VS Code and Neovim send. It needs no Cangjie SDK.
  • Neovim 0.11 or newer: cangjie.nvim downloads this release and starts it on .cj files. Any other editor that speaks LSP over stdio can run cjls itself, with the nearest cjpm.toml as the root.