Fungo
With 6k lines of code and 132 unit tests, Fungo is probably the most
advanced of my projects. It is a statically typed functional programming
language with a parser, type checker, and interpreter written in Rust.
The language is heavily inspired by Elixir and Go.
For demonstration purposes, I have written a simple web-based environment where
you can write and run Fungo code. The code is interpreted in the browser using
WebAssembly.
Example Programs
A Fungo program evaluates to the value of the last expression. This means that you can write simple programs like this:
You can also destructure lists and tuples.
You can define functions using the func
keyword.