r/Compilers • u/KILLinefficiency • Jun 23 '26
Kal: A Programming Language built from scratch!
Hey everyone!
After a roller coaster journey, I am proud to present my personal project: Kal.
Kal is a lightweight interpreted programming language that attempts at combining various paradigms of programming to give a great developer experience. It's written entirely from scratch in C++ with no third party dependencies. It's also completely free and open source distributed under GNU GPL v3 license.
Moreover, Kal can also be embedded into C++, Python and JavaScript programs to enhance your existing codebases.
- Kal's Official Website: https://kal-lang.vercel.app/
- Mirror: https://killinefficiency.github.io/KalWebsite/
- GitHub Repository: https://github.com/KILLinefficiency/Kal
(Website looks better on a bigger screen.)
Please note that this is the very first release (v:0.1.0) and Kal is still under active development (alpha). I would really appreciate a star on the repository to help it gain greater visibility.
As a proponent of human effort, I am glad to say that Kal and its ecosystem is completely handcrafted with no AI assistance used anywhere.
One last thing, "Kal" is pronounced like "Cal" in "Calendar".
Please feel free to reach out to me regarding Kal!
11
u/Diligent-Slide-9234 Jun 23 '26
Just looking at the sort example is very confusing to me. You declare a function which seems to return data? Or is data the first parameter?
3
u/No-Trifle-8450 Jun 23 '26
I think you need to designate all advanteges of Kal against many popular languages to determine the abilities
2
u/AlexoForReal Jun 25 '26
I think that currently there is a necessity for a language that sits in the middle like Go or Kotlin because neither have the best things that everyone wants, like multiparadigm without legacy and independent easy tooling. Being that said what is the purpose of the language? I like the short snippet but really don't know if can be good enough to things like a web service or a console application.
3
u/SourAppleKush Jun 23 '26
Do you know what Kal means in Russian?
1
u/WonderfulFunny4337 Jun 23 '26
Please make a pure pwsh iteration under 300 lines
1
u/ronnie1960 Jun 24 '26
The ultimate test is to write the interpreter in it’s own language.
1
u/EggplantExtra4946 Jun 25 '26
the $( ) syntax serves no purpose
the lack of increment operator is annoying
the 'loop' keyword used for while loops instead of 'while' is a big fuck you
1
u/Goldrainbowman Jun 26 '26
Do you have an interpreter for it?
1
u/Retired-69 Jun 27 '26
Why is it written in c++?
1
u/Ghostfly- Jun 23 '26
Can it run doom ?
9
u/[deleted] Jun 23 '26 edited Jun 23 '26
[removed] — view removed comment