Iron - A Custom Programming Language

Iron - A Custom Programming Language Used AI

6 devlogs
57h 31m
•  Ship certified
Created by Topher Fontana

Inspired by my prior experience in C, I’m making a language in Rust. It’s based off of the same stuff as the language I made prior, but it’s in Rust, and this is my first time coding in Rust. The end goal of this project is to make a usable language for myself that I enjoy coding in, thats decently performant, and has a wide suite of features that will help me write code for a ton of different things.

Timeline

Ship 2

0 payouts of shell 0 shells

Topher Fontana

20 days ago

Topher Fontana Covers 1 devlog and 9h 34m

I’ve been working on the documentation for Iron, as well as adding class support. Classes have class variables, constructors, and functions. I’m currently working on expanding the documentation, and working on returning classes. The next features will be AWESOME too: database support, and I want to learn Zig, so that may be worked into networking features.

Update attachment

Ship 1

0 payouts of shell 0 shells

Topher Fontana

about 1 month ago

Topher Fontana Covers 5 devlogs and 47h 57m

Finished adding:
- While loops
- For loops
- Returns
- Breaks
- Arrays

And more!

Update attachment

Functions, if conditionals, loops, return statements where to start. IT ALL WORKS NOW!!!

Had to rewrite a lot of my parser, and visitor, but this project is nearly complete :)

Update attachment
Jayden Chun Jayden Chun about 1 month ago
yo thats actually really impressive! Congrats!
Zane Beidas Zane Beidas about 1 month ago
this looks good!!!

Been a minute but I’ve managed to get functions to work!!!!!!!!!

Update attachment

Long time no see. I managed to get everything working with basic IO, got the hello.iron file working :)))))

Running it works like this:

cargo run — examples/hello.iron

Overall this is an insane development and I’m so happy I got here.

Update attachment

I’ve been really busy converting the code so this id the first devlog. I made a prior coding language in C, but I wanted to change it to Rust to learn it. It’s been fairly smooth sailing and I’m excited to be finishing up the conversion soon. It took me a long time to write the C code, but its easier converting into Rust. The Lexer, Parser, ASTs, Tokens, and Scope are all finished, just working on visitor. :)

Update attachment