Skip to content

An experimental dependently-typed programming language for performance-critical software.

Notifications You must be signed in to change notification settings

zeyonaut/isogon

Repository files navigation


Isogon

A dependently-typed programming language for performance-critical software.


What is Isogon?

Isogon is an experimental programming language supporting dependent types, stack-allocated data, and memory safety without garbage collection. To achieve this, Isogon borrows ideas from two-level type theory and quantitative type theory to enable static polymorphism over memory representations (as an application of its dependently-typed metaprogramming facilities) and enforced move semantics.

Repository overview

This repository contains a compiler for Isogon, which is segmented into two pipelines:

  • The frontend type-checks and elaborates Isogon's surface syntax, automatically verifying that programs adhere to its ownership discipline.

  • The backend provides code generation for Isogon, powered by the Cranelift intermediate representation.

A test suite is provided in /tests/, alongside a broad selection of example programs which showcase the features implemented in Isogon.

License

Isogon is distributed under the terms of the MIT license.

See LICENSES/MIT.txt for details.

Getting started

To get started with Isogon, run the help command with:

cargo run -- -h

The following command compiles an example program to an object file:

cargo run -- -f examples/fib_input.is -o out/fib_input.o

About

An experimental dependently-typed programming language for performance-critical software.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages