Commit Graph

10 Commits

Author SHA1 Message Date
deadvey ee34493895 Changed the data_to_send to be a stack so many lines of code can
be pre-processed before the user interacts.
When the /happening api is called it just dequeues the front item
2026-05-19 19:23:19 +01:00
deadvey 019f1088a3 fixed a bug with single word strings and multiple choice blocks side by side 2026-05-18 23:05:19 +01:00
deadvey 051bfe46e4 redesigned how file is tokenised into string, keyword, identifier, bracket and character
added support for GOTOs and removed object recursive calls
2026-05-18 13:22:29 +01:00
deadvey dd04399784 Cleaned code up a bit
TODD:
make colour an enum
make unwrap_or_exit return the error
2026-05-17 15:44:01 +01:00
deadvey 13049309b2 Changed how the data is tokenised 2026-05-17 12:47:22 +01:00
deadvey 6d012dbe6b added character documentation and split Clothing into a sub-struct
of Character
2026-05-16 14:06:49 +01:00
deadvey a251be7827 added a modify data function for changing the data_to_send mutex 2026-05-16 12:40:00 +01:00
deadvey 20174e697c removed unwraps and added a method to Results called .unwrap_or_exit(error_message, error_code)
This tries to unwrap and if it can't then it outputs the error message with the error!() macro
(log library) and exits with the error code.  This is to be used instead of expect and is for
fatal errors
2026-05-15 19:19:17 +01:00
deadvey a5a45fa1f0 version & fixed some clippy linting 2026-05-14 23:34:11 +01:00
deadvey 24eb0f96e9 moved character parsing to it's own file and made it return data to the API 2026-05-14 21:42:59 +01:00