I’ve been playing with SudoLang a lot lately and I finally got around to trying to write a simple example of what an actual codebase written in SudoLang could look like.
- Automatically builds codebase in JavaScript based on SudoLang
- Imports interfaces into files using the
@interfaces
directive to ensure compatibility between generated files
It could be extended to:
- Automatically generate unit tests
- Use these unit tests for self-refinement to make sure that the generated code works as expected
- Automatically look up optimizations
- Automatically rewrite the SudoLang itself to be more deterministic
- Progressive compilation (only recompile code changes)
- Automatically produce documentation
There’s so much power in writing my codebase like this. It makes it much faster to write, I don’t need to know a lot of the low level technical details of each language (though it helps), I don’t need to know the best implementations of algorithms I just need to name and/or explain their outcome, and so much more!
You must log in or # to comment.