From 06e7116b6a4d50568d010d341533c34490f57267 Mon Sep 17 00:00:00 2001 From: deli73 Date: Fri, 26 Dec 2014 09:03:40 -0800 Subject: [PATCH] Made a few possible additions Please correct any errors I may have made, I'm a bit of a noob with C/C++ --- devel/lib/yeolde.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/devel/lib/yeolde.h b/devel/lib/yeolde.h index 77afa71..4e2e154 100644 --- a/devel/lib/yeolde.h +++ b/devel/lib/yeolde.h @@ -8,6 +8,8 @@ #define whilst(what) while((what)) #define when(what) if((what)) +#define but and /* for use as in "if(a is b) but not(b is c) " */ +#define nor(n) and not(n) /* if(a is b) but not(b is c) nor (c is d) */ #define otherwise else #define commence { #define then { @@ -25,5 +27,11 @@ #define below < #define let /**/ #define raise(what) (what)++ +#define tribute return /* Maybe make this something else */ #define number int +#define number int +#define large long +#define small short +#define phrase(s) String(s) /*Am I doing this part right? I confuse some C++ stuff with Java sometimes*/ +#define symbol char