FoxLang

Hello!

I would like to informally introduce FoxLang to the world! (I’ll actually introduce it later). It’s a programming language that I’ve been working on during my spare time. It is very early in the development, but this has been what is consuming almost all of the time I spend programming, so I decided that it was fine to write about.

You can find the code here, on my github. I have mostly finished the AST (with the exception of unnecessary things like structs), and I am going to start writing the interpreter part. Im planning to eventually make it compiled, with LLVM as the backend, but that is probably pretty far in the future.

There are two reasons that I am making my own language:

Im planning to make it a mish-mash of a bunch of languages, including rust and c++. I’ve also heard good things about C# and go, so I’ll probably also look into those.

While you are here, please enjoy some (very subject to change) syntax snippets (also the first ever released to the public)

fn add(a int, b int) {
🦊🦊return a + b;
}

fn main() int {
🦊🦊let out int = add(1, 2)
🦊🦊return add(out, 5) / 2;
}

Footnotes


  1. You can thank Acegikmo (Freya Holmér) for this idea, it was discussed during one of her streams ↩︎

  2. I’m still a child, after all ↩︎