A statically typed, tensor-primitive systems language.
Compiler is a single Go binary that emits ELF x86-64 Linux executables
directly — no LLVM, no runtime to link.
| Repo | What it is |
|---|---|
| esquec | The compiler. Parse → typecheck → CEIR → MIR → x86-64 → ELF, all in one Go binary. |
| tree-sitter-esque | Tree-sitter grammar + highlight/locals/tags queries. Drops into Helix and nvim-treesitter. |
| esque-lsp | Language server. Diagnostics, hover, completion, go-to-definition over LSP 3.17. |
fn dot[N](x: f32[N], y: f32[N]) -> f32 = +/(x .* y)
fn main() -> i32 = {
let a = [1.0, 2.0, 3.0];
let b = [4.0, 5.0, 6.0];
dot(a, b) as i32
}
Tensors are values — shapes are part of the type. Loop primitives
(tabulate, scan, iterate_until) and reduction operators (+/,
-/, */, //) replace most uses of for and while.
Everything under this org is MIT © Donnis Moore.