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);
}