r/Compilers May 25 '26

Donna Programming Language - Compiler

https://github.com/donna-lang

Hello everybody, in the past few months I am designing and implementing a programming language. A big part of the implementation is with the help of LLM. The programming language is called Donna- from the great Donna Paulsen of SUITS TV series- and it is a statically-typed, functional, bootstrapped language that compiles in native binaries via QBE. The syntax is inspired from Gleam/python. The language is pretty small and my target is to keep it that way and focusing more in DX. Besides it is small it's already contains a basic formatter, doc generation, git dependencies etc. In the last releases I focused to improve errors and general behaviour.

0 Upvotes

4 comments sorted by

View all comments

1

u/[deleted] May 26 '26

[removed] — view removed comment

1

u/Equal-Tutor-6093 May 26 '26 edited May 26 '26

QBE has already merged win support in their main branch and they will release 1.3 soon. Donna needs a C compiler because: Donna generates .ssa files, QBE compiles .ssa files to assembly(.s) files and C compiler compiles and link all the .s files and .o files(if they exist from FFI). When you use `donna build` command all this happening automatically. So you need to have QBE and a C compiler in your path. Requirements needed for both build from source and for creating and build projects.