From 39008b351b16d003e9bbce0bbadfa29dc3630172 Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Wed, 14 Sep 2022 20:15:25 -0700 Subject: [PATCH] Let simplejoy be joy. Simple pleasures are the best. --- implementations/Nim/defs.txt | 1 - implementations/Nim/{simplejoy.nim => joy.nim} | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) rename implementations/Nim/{simplejoy.nim => joy.nim} (99%) diff --git a/implementations/Nim/defs.txt b/implementations/Nim/defs.txt index 3b96c53..570293f 100644 --- a/implementations/Nim/defs.txt +++ b/implementations/Nim/defs.txt @@ -16,7 +16,6 @@ at drop first average [sum] [size] cleave / b [i] dip i binary unary popd -bool truthy ccccons ccons ccons ccons cons cons clear [] swaack pop diff --git a/implementations/Nim/simplejoy.nim b/implementations/Nim/joy.nim similarity index 99% rename from implementations/Nim/simplejoy.nim rename to implementations/Nim/joy.nim index cd9152f..5500e27 100644 --- a/implementations/Nim/simplejoy.nim +++ b/implementations/Nim/joy.nim @@ -552,7 +552,7 @@ proc joy_eval(sym: string, stack: JoyListType, expression: JoyListType, return swaack(stack, expression, dictionary) of "swap": return swap(stack, expression, dictionary) - of "truthy": + of "bool": # bool is a reserved word in Nim. return truthy(stack, expression, dictionary) else: