Commit Graph

43 Commits

Author SHA1 Message Date
Abdelrahman Said
55ca87c425 Ensure token's line and column number are printed properly on macOS and
Linux
2023-06-26 07:32:42 +01:00
Abdelrahman Said
9963527db0 Ensure token's integer value is printed properly on macOS and Linux 2023-06-26 07:31:19 +01:00
3ded1d2708 Testing building json objects in C 2023-06-25 23:52:45 +01:00
c4caa1bb84 Update test_files README 2023-06-24 03:43:42 +01:00
311a9362ea Update debug config 2023-06-24 03:41:56 +01:00
84533ad643 Ensure lexer returns correct token for numerical values 2023-06-24 03:41:22 +01:00
7a326421b8 Add dstr_find function 2023-06-24 03:40:04 +01:00
5f926f060e Add more examples 2023-06-24 03:39:45 +01:00
fd525e26a6 Update print format specifier 2023-06-22 00:37:59 +01:00
Abdelrahman Said
efe07a3c60 Add the get_next_token function 2023-06-22 00:13:05 +01:00
Abdelrahman Said
7845ad4b06 Update VSCode debug config and settings 2023-06-22 00:12:28 +01:00
Abdelrahman Said
6912f689f1 Update str_view_t typedef 2023-06-21 20:53:17 +01:00
2ef4e2f056 Cleanup 2023-06-20 23:38:46 +01:00
1b56aaa185 Started implementing the get_next_token function 2023-06-20 23:37:56 +01:00
e4d161d79d Plan work for get_next_token function 2023-06-20 21:56:59 +01:00
0d289df26f Fix bug in dstr_to_cstr 2023-06-20 21:56:33 +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
31e19a50fc Save string and number values for tokenisation 2023-06-18 22:57:08 +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
909bcf3056 Add test files for unicode sequences 2023-06-18 00:23:40 +01:00
386dfe72db Added string type that works for both keywords and unicode sequences 2023-06-18 00:03:31 +01:00
727d41c5ff Added script to test all the example json files 2023-06-18 00:03:07 +01:00
ed9b5fb638 Add keyword support 2023-06-17 22:10:48 +01:00
aff2735b9f Update examples 2023-06-17 22:10:38 +01:00
558d01448d Update debug config 2023-06-17 22:10:27 +01:00
b0e527ee76 Added handling numerical states 2023-06-17 18:44:30 +01:00
43630526dc Handle objects, arrays and strings 2023-06-17 15:27:16 +01:00
d7791e3794 Add test files 2023-06-17 15:27:03 +01:00
75c282a58c Update .gitignore 2023-06-17 15:26:52 +01:00
94398935e8 Configure debugging 2023-06-17 15:26:30 +01:00
aacadcb5f5 Remove binary 2023-06-17 11:46:43 +01:00
cad6b938b3 Started implementing the lexer 2023-06-17 00:45:00 +01:00
f4b826a299 Reorganise 2023-06-16 22:38:37 +01:00
4a657e5a2c Initial testing of parsing JSON objects 2023-06-13 23:58:38 +01:00
82c2fcdc64 Continue experimenting with state machines 2023-06-13 23:36:14 +01:00
23a7874950 Removed the binary from source control 2023-06-13 00:22:32 +01:00
Abdelrahman Said
b9e3d5746a Test adding a number state machine 2023-06-12 23:59:21 +01:00
Abdelrahman Said
7525036df2 Adding more information on the basic structure for the lexer 2023-06-12 07:42:24 +01:00
cf7b1352e8 Add some notes 2023-06-11 22:22:55 +01:00
a7a6c00aad INITIAL COMMIT 2023-06-11 21:11:29 +01:00