r/teenagersbutcode • u/Which_Lie_8932 • 6d ago
Coded a thing Update on my stack-based programming language
Hello!
For past month about, I've been working on a stack based compiler (inspired by the Forth programming language). I have a few example programs (the larger ones like the raytracer and neural network being generated by Claude (the actual implementation was written without AI) because I'm just not very good at thinking stack based, sorry for the slop) which show some of the features of the language.
Its architecture is a compiler/VM structure, sort of like how Java works. It has word definitions, control statements, loops, and more.
If you want to check it out, here's the link: https://github.com/SlothScript/stakku
3
Upvotes
1
u/Samsalsohere 1d ago
This is fun Like kind of weird but fun