Commit Graph
110 Commits
Author SHA1 Message Date
glm94 929f2a7f4b Made the List generic, though more care needs to be taken when using it since memory leaks can happen when structs are used with it. 2022-01-17 17:21:40 +00:00
glm94 2c18b593ab Expanded the assembly test code partially, and added some ideas on how to encode instructions. 2022-01-07 21:37:32 +00:00
glm94 8656ba7d0c Fixed a bug where the last character of a line would be lost when generating a list of string tokens. 2022-01-05 22:51:56 +00:00
glm94 0b46ac2f54 Added some error handling in the List functions. Just trying to get a feel for how to handle memory allocation failures in C. 2022-01-05 16:51:26 +00:00
glm94 2d3b6f1858 Changed the signatures of some of the List functions to have the 'const' contract. I feel this makes more sense to have since these functions are to not modify all or some of their parameters. Plus it just feels right to have them defined this way. 2022-01-05 16:02:06 +00:00
glm94 08acc6af22 First stage of splitting up a source line complete. Next is tokenizing the list of string being generated. 2021-12-30 15:21:09 -06:00
glm94 4be3a4a7ea Changed the 'AddListItem' function to make a copy of the char array that its sent to make the caller's life a bit easier. 2021-12-30 14:56:36 -06:00
glm94 168d8e1548 Created a list structure for strings. Should work for splitting lines of text up just before they're tokenized. 2021-12-30 14:28:02 -06:00
glm94 9c6b1d9057 Added very simple parsing logic. 2021-12-28 20:48:09 +00:00
glm94 5162804270 Initial commit, can read from a list of files passed. 2021-12-28 20:09:33 +00:00