Skip to content
@esque-lang

esque-lang

esque
esque

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.

Docs  ·  Tour  ·  Reference

Projects

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.

A taste

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.

License

Everything under this org is MIT © Donnis Moore.

Popular repositories Loading

  1. esquec esquec Public

    Go 2

  2. tree-sitter-esque tree-sitter-esque Public

    JavaScript 2

  3. esque-lsp esque-lsp Public

    Go 2

  4. .github .github Public

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…