Finch/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 636eaefe59 finch lsp: the language server, written in Finch
Hover, go to definition, completion (after a dot too: fields, methods, a module's names, an enum's variants,
array/text/map methods), signature help, the outline and errors while typing -- everything the C++ one did,
and the same tests/lsp_test.py passes against it.

It doesn't type-check by itself: for every change it runs  finch index  on the editor's text (--overlay says
which file the text stands in for) and reads what the compiler learned about every name, which is also what
the compiler's own error messages are made of. Half-typed code keeps using the last version that compiled.
src/docs.fch is the one description of the built-ins that hover and completion share.

tests/run.sh runs the LSP test too. 107 passed.
2026-10-25 21:48:11 +01:00
..
fail Fix the two known limits: adding map keys while looping over the map is a runtime error; temporaries held by an expression are freed when try / or-blocks leave early. err usable after or, inner err shadows outer. 2026-10-25 19:13:46 +01:00
new --target: windows, linux, arm64, macos or a triple, in the compiler written in Finch 2026-10-25 21:33:19 +01:00
run boot: methods (fn T.m, self by address, mutation analysis), str() of any value 2026-10-25 19:13:46 +01:00
shared export fn and finch build --shared, in the compiler written in Finch; FINCH_PATH, FINCH_RT, FINCH_CC 2026-10-25 21:03:05 +01:00
cross.sh --target: windows, linux, arm64, macos or a triple, in the compiler written in Finch 2026-10-25 21:33:19 +01:00
lsp_test.py Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00
run.sh finch lsp: the language server, written in Finch 2026-10-25 21:48:11 +01:00
shared.sh The compiler is written in Finch, and nothing else: src/*.fch, built from a seed 2026-10-25 21:42:17 +01:00