Skip to main content
Deno 2 is finally here 🎉️
Learn more

CaseCrusher

An optimal functional runtime.

Installing

  1. Install Deno.js

  2. Paste this command to install CaseCrusher:

deno --unstable install -n crush --allow-all https://raw.githubusercontent.com/taelin-org/CaseCrusher/master/src/CLI.ts
  1. Create a Kindash file:
// main.kindash

con 0 zero{}
con 1 succ{pred}

fun double(n):
  case n {
    zero{}: zero{}
    succ{pred}: succ{succ{double(pred)}}
  }

fun main(): 
  double(succ{succ{succ{zero{}}}})
  1. Crush it:
crush main.kindash