Skip to content

Making of Danfe

<- Back to blogs

I’ve just made my own programming language, and it feels surreal to even say that. If I could go back and tell my younger self that I’d someday create a language, I probably wouldn’t believe it at first. But then, I know I would be so proud of me.

The language, Danfe, is similar to Lua, with some inspiration from Python as well. It’s built in V and is interpreted—though a compiled version would sound pretty impressive, wouldn’t it? Who knows, maybe a C compiler written in Danfe isn’t that far-fetched! 😉 Danfe is Turing complete, and it can even leverage V code directly, so there’s a lot of potential.

This blog post marks the official release of Danfe, though right now, me and some of my friends are the only users. I’ll be iterating rapidly, updating the code and adjusting the release binaries directly. There’s a lot I’d like to improve in Danfe, and part of me wonders if I should continue in V or keep searching for that one language I originally set out to find. My long-term vision is to make Danfe both interpreted and compiled, with a multi-backend compiler that can output to JavaScript, Go, ASM, and more.

There’s still plenty of development ahead, and my goal isn’t to “finish” the project so much as to build something versatile and capable of compiling to various languages.

You might notice I haven’t mentioned any setbacks during development, and honestly, I don’t really think there were any set back other than life comming in between me and this project. I encourage eveyone to give it a try! There is never a world where having too much programming languages is an issue.


Previos Related Blogs:

Lexer -> Parser -> Evaluation

Wrote a lexer in VLANG

Insearch of a new language

Reply via Email

Date: 2024-11-07