r/ProgrammingLanguages • • 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.

24 Upvotes

30 comments sorted by

View all comments

Show parent comment

0

u/Dog-Mad May 24 '26

Why would i make my files compatible with gnu? It can already run on all Linux distros. Just not on ARM.
Here is the example page in the repo:https://github.com/dogmaticdev/IRON/blob/main/examples/example.md

3

u/igors84 May 24 '26

It isn't that important. The only reason is that gcc and as are almost always already installed on Linux systems and nasm rarely is so it would be a bit easier for people who want to compile your project from source.

3

u/Dog-Mad May 24 '26

I see, I never considered installation to be a problem since many projects expect that you download 10+ dependencies or something. I am more comfortable with the nasm compiler, and I don't feel the need to change my setup either but thanks for the suggestion.