From 14a419380f7e0d9e24cb663d5ae27f18449b26dc Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Wed, 1 Dec 2021 01:19:20 +1100 Subject: Add config file, refactor classes to be cleaner with macros --- config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..1160580 --- /dev/null +++ b/config.h @@ -0,0 +1,10 @@ +#define DEFAULT_GRAMMAR "Cvccvc!##" + +// For vowels: +// i, o excluded due to potentially confusing 1/l/i + 0/o +// y included as a vowel because it kinda is one +#define CLASSES \ + CLASS('v', "aeuy") \ + CLASS('c', "bcdfghkmnprstvwxz") \ + CLASS('#', "1234567890") \ + CLASS('!', "@#$%^&*_-+=()[]{}") -- cgit