mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Implemented and tested Toy_String, read more
Strings are needed for the handling of identifiers in the key/value variable storage, so I've got them working first. I used the rope pattern, which seems to be quite an interesting approach. I'll add comparison checks later. Adjusted how buckets are handled in all tests, could've been an issue down the line. Added the build instructions to README.md.
This commit is contained in:
@@ -26,7 +26,8 @@ typedef struct Toy_VM {
|
||||
|
||||
int routineCounter;
|
||||
|
||||
//scope - block-level key/value pairs
|
||||
//heap - block-level key/value pairs
|
||||
//TODO: needs string util for identifiers
|
||||
|
||||
//stack - immediate-level values only
|
||||
Toy_Stack stack;
|
||||
|
||||
Reference in New Issue
Block a user