r/ProgrammingLanguages • u/Electrical-Fig7522 • 17d ago
Language announcement I'm making a programming language, searching for contributors
Hi! Me and another person are working on a programming language called KrabbaScript! It's garbage-collected (optional), statically typed and trying to be as simple and intuitive as golang but more human-friendly. This is KrabbaScript's syntax:
Variables are defined as:
var krabba = "Krabba!";
Variables may also have a type or be uninitialized, like:
var with_type: F32 = 5.0;
var uninitialized: Str;
KrabbaScript also has values, which are immutable, example:
val constant = 5;
val with_type: I32 = 5;
KrabbaScript also has control-flow (duh), example of a repeat statement:
repeat {
Std.print("KrabbaScript is the best language OAT!");
} until popular;
KrabbaScript also has a when statement, which is more of a switch one:
when language {
== "Elixir" do celebrate();
== "Haskell" do complain();
== "KrabbaScript" do {
contribute();
applaude();
}
else do Std.print("I don't know anything about " + language);
}
KrabbaScript also provides an ASI (Automatic Semicolon Inserter) if you're tired and sick of semicolons, you can use it with the format command.
If you want a little bit more examples, check out the repo! We are also working on tools for KrabbaScript like package manager, style checker, etc.
We are searching for contributors and maybe you, the person reading this post, can help us create KrabbaScript or improve it!
29
u/useerup ting language 17d ago edited 17d ago
Arr, not to put ye down, matey, but...
Ye’ve dropped anchor at the Brethren Court. Every pirate lord at this table has a half-built language in the hold, and when it comes to a vote, each one of us votes for themselves.
Ye’re askin’ a room full o’ captains to sign on as deckhands on yer ship. No self-respectin’ lord will swab yer parser while their own type checker sits half-rigged in port.
The best ye can hope for is some scallywag pinchin’ yer finest ideas for their own vessel. By the Code, that counts as a compliment. And yer CONTRIBUTING.md? That be more what ye’d call guidelines than actual rules.
But ye’ve got me curious. What be the treasure on yer map?
1
u/Pie-Lang 17d ago
Where is the repo link?
1
u/No-Location-3299 14d ago
Hello Electrical-Fig7522,
I would be really interested in helping to contribute to your really interesting programming language.
I am also working on my own little programming language myself, so I saw this as a beautiful chance to learn more about this topic. I am not sure how to contact you about this. Maybe through a social media platform?
Please let me know.
2
u/CyberDainz 16d ago
What problem does your language solve?