Actually just three programming languages in a trenchcoat
Rust 64.6%
TeX 16.2%
C 10.5%
Just 0.1%
Shell 0.1%
Other 8.7%
2005 2 1

Clone this repository

https://tangled.org/eldridge.cam/trilogy
git@knot.eldridge.cam:eldridge.cam/trilogy

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Trilogy#

Spec Rust CI C CI

My (approximately) third attempt at building a programming language12.

Also a programming language that more closely resembles three languages at once than any one single language.

Also an exploration into a bunch of ideas in language theory (or at least my own ideas of them) that I am finding come in sets of three.

That makes a trilogy. Hopefully I produce something useful. Third time's the charm!

Status#

The v0.0 "barely functioning" version of Trilogy was completed in 2023, using a custom bytecode virtual machine. While it did succeed at its original goal, there were numerous flaws with performance, memory usage, and bugs in general.

A v0.1 version is now in the works, backed by LLVM for a more robust and performant implementation and better FFI to native libraries.


  1. First few were school projects, WLP4 (a subset of C), and Joos (a subset of Java), and maybe a few others. Though technically I did (attempt to) implement them (with friends), they aren't my languages, so I cannot provide the source code. ↩︎

  2. The first I could call my own was Lumber, an experiment at a logic programming language, but much was found lacking in performance and practicality. ↩︎