r/ProgrammingLanguages • u/Electrical-Fig7522 • Apr 25 '26
Krabbascript - Mix of Rust, Lua and Python, designed to be as fast as C
Hi! I've started making this project somewhere since October 2025. So far I've finished the tokenizer and now working on the parser. Right now the compiler can parse a var and a val, I'm working on to add more stuff later on. The syntax is a collection of stuff i found easy to write and remember.
This is my first time making a compiler, so I would be thankful if you can point out the flaws in my code!
4
Upvotes
6
u/Electrical-Fig7522 Apr 25 '26
Per AutoModerator's request I hereby confirm that this project did not use an LLM as part of the development process.
3
u/Big-Rub9545 Apr 25 '26
Looks quite good so far (with a cursory look), but why is the binding power a struct of floats? I’m not sure what the intention is, but an enum seems much cleaner.
3
u/fdwr Apr 26 '26 edited Apr 26 '26
Would be prudent for the readme to include a small hello world snippet, as build instructions are secondary to showing what the project is about. I navigated into the documentation folder, but the readme file there too is empty.
1
u/Key_River7180 Nain. Apr 25 '26
I like it?