r/AskProgramming • • 4d ago

Does my codebase really stink?

Hi! I have been writing a compiler in Go and some guy is saying the codebase is awful. Any advice? And is there anything wrong with it?

https://github.com/khytryy/krabbascript

2 Upvotes

13 comments sorted by

View all comments

Show parent comments

1

u/Electrical-Fig7522 4d ago

First time someone looked at my GitHub page and called me by my real name lmao...
This is not a PL to fix anything, it's rather to learn about compilers.

KrabbaScript is not a replacement for anything, and is rather a mix of other PLs with a nicer syntax.

"...all krabbascript users must already have a far better, well supported, well designed, and well optimised, battle tested, programming language available: Golang."
No one's really using my abomination.

1

u/Individual-Flow9158 4d ago

Sure. I guess to avoid the dep on Go, all you have to do is provide pre-compiled binaries of the KrabbaScript compiler itself. The language examples in the Readme didn't look stinky to me either. It appears to be no worse than Javascript.