Repository
Current version released
5 years ago
Versions
CaseCrusher
An optimal functional runtime.
Installing
Paste this command to install
CaseCrusher:
deno --unstable install -n crush --allow-all https://raw.githubusercontent.com/taelin-org/CaseCrusher/master/src/CLI.ts- 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{}}}})- Crush it:
crush main.kindash