Commit Graph

32 Commits

Author SHA1 Message Date
b4a4865870 Regenerate the state table 2023-07-27 00:54:53 +01:00
1b4d6a6156 Update column width and write row state as a comment 2023-07-27 00:53:39 +01:00
adde1db0f4 Finalise generating the state table 2023-07-25 08:56:42 +01:00
fd8231b02d Pull states and inputs enums to a separate header 2023-07-23 22:49:23 +01:00
09f2315b66 Test generating a state transition table 2023-07-23 22:49:09 +01:00
Abdelrahman Said
ba813ea5bf Switch to using dstring as a submodule 2023-07-12 22:15:18 +01:00
f9e9f0ebd8 Add function to traverse json tree and free all memory allocations 2023-07-01 16:45:31 +01:00
e818135aef Move the logic for loading a json file into the load_json function 2023-07-01 15:05:53 +01:00
10597c0ed7 Remove validate_json 2023-07-01 15:05:41 +01:00
ff110ea6e2 Move the json entities specific functions to json_entities 2023-07-01 15:04:59 +01:00
99f5c5bfe5 Refactored parse_token function 2023-07-01 04:43:52 +01:00
2a4d573118 Add print_json function to traverse json tree and print all elements 2023-07-01 04:42:40 +01:00
Abdelrahman Said
9a8bdcea02 Added pointers to beginning and end of collection 2023-06-30 01:16:10 +01:00
ce38afc59f Update json entities 2023-06-28 23:36:37 +01:00
740d9b6566 Combine TK_TRUE and TK_FALSE into TK_BOOL 2023-06-28 21:43:35 +01:00
Abdelrahman Said
6d08b38058 Start exploring the parser 2023-06-28 20:50:54 +01:00
Abdelrahman Said
0a7e2f7f0c Rename json entities 2023-06-28 20:50:37 +01:00
14ad503d4d Updated json_entities 2023-06-27 23:16:26 +01:00
1e510411dc get_next_token returns result which includes possible error and token 2023-06-27 22:23:16 +01:00
Abdelrahman Said
a6b45834fc Start working on json_entities 2023-06-26 18:32:53 +01:00
3ded1d2708 Testing building json objects in C 2023-06-25 23:52:45 +01:00
7a326421b8 Add dstr_find function 2023-06-24 03:40:04 +01:00
Abdelrahman Said
efe07a3c60 Add the get_next_token function 2023-06-22 00:13:05 +01:00
Abdelrahman Said
6912f689f1 Update str_view_t typedef 2023-06-21 20:53:17 +01:00
1b56aaa185 Started implementing the get_next_token function 2023-06-20 23:37:56 +01:00
62f45b6a7f Add str_view_t 2023-06-20 21:55:59 +01:00
Abdelrahman Said
76620b593a Add dstr_resize and rename the dstring functions 2023-06-19 08:33:02 +01:00
f0043a691c Rename lexer string functions 2023-06-18 22:08:47 +01:00
57fe5ab1b7 Add dstr_t type 2023-06-18 21:40:36 +01:00
0095d8fe61 Rename lexer_states to lexer 2023-06-18 21:39:50 +01:00
43630526dc Handle objects, arrays and strings 2023-06-17 15:27:16 +01:00
cad6b938b3 Started implementing the lexer 2023-06-17 00:45:00 +01:00