Code Joyfully with Jolly π
Jolly makes JavaScript fun again! Write code in a playful, easy-to-read syntax and let Jolly handle the boring stuffβconverting it to JavaScript. π
Letβs bring some joy back into coding with Jolly! ππ» But remember, donβt take this too seriouslyβitβs just for fun! π
lock greeting = "Hello, Jolly!";
pick (greeting) {
option "Hello, Jolly!":
console.log("This is a Jolly greeting! π¨");
bail;
option "Hi, there!":
console.log("A more casual hello. π");
bail;
fallback:
console.log("Unknown greeting. π€");
}
free score = 85;
when (score >= 90) {
console.log("You got an A! π");
} maybe (score >= 80) {
console.log("You got a B! π");
} meh {
console.log("You need to work harder! π’");
}
loopy (free i = 0; i < 5; i++) {
console.log("Counting with loopy: " + i);
}