ayden coughlin

About Programming Writing

← Back to projects

Mint

Mint is a simple, statically-typed programming language. The Mint "toolchain" consists of a transpiler from Mint to Javascript written in Nim; the Javascript output can be executed immediately (such as with Node) or used in a web application. I also made a web IDE to mess around with the language, which runs the transpiler output in the browser.

I created Mint because I wanted to learn how static analysis works in practice and I wanted to experiment with some non-standard language features. I also wanted to learn how to use the language Nim and its Javascript compiler. The syntax of the language is heavily inspired by modern languages like TypeScript and Kotlin. It supports first class functions and arbitrary operator overloading.