r/ProgrammingLanguages • u/Dog-Mad • May 24 '26
Language announcement Try creating your own Programming Language with IRON!!!
IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database designed for making programming languages. It is written entirely in Assembly and is extremely performant.
The best part of IRON, is that it separates code from the syntax and intrinsics. Meaning that once your programming language is finished, you would only need to rewrite IRON into it to make it bootstrap and nothing else.
This has the added benefit of allowing you to focus on the syntax and intrinsics before writing the lexer or parser.
IRON also doesn't rely on any external libraries, as of this moment its file size is 23.4kb and it has 1468 lines of code.
IRON can only be run on Linux 86-64, but I will work on porting it to MacOS and Windows in the near future.
The GitHub repo is: https://github.com/dogmaticdev/IRON
If you find to be useful or interesting please give the repo a star.
View all comments
Show parent comment
4
u/Dog-Mad May 24 '26
I wrote it in assembly because it uses a lot of SIMD instructions. And because I wanted it to be very fast. Also, it is not that limited IMO. You should be able to do most things that a normal lexer can.
Even optimization more or less. You are correct that it is a DSL.