Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/helloJSON 2023-07-30 11:33:35 +00:00
da69ad6d43 Add basic test suite to validate that the parser works
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-30 10:47:54 +00:00
ec6df32839 Start implementing using the state transition table in the lexer
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-29 23:37:55 +00:00
de57d9f14b Add enum value for newline
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-29 21:10:45 +00:00
f1f90cf56b Specify the length of the strings tables explicitly
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-29 21:09:18 +00:00
41d7cf2717 Reformat
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-29 21:08:11 +00:00
002a8e7064 Get the input and state strings from tables instead of switch cases
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-29 20:47:57 +00:00
fc80095d1f Remove clear_file and update write_table to accept a file pointer
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-29 20:42:46 +00:00
642d000ebd Fix keyword handling so the final keyword states don't consume input
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-26 23:55:09 +00:00
b4a4865870 Regenerate the state table
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-26 23:54:09 +00:00
1b4d6a6156 Update column width and write row state as a comment
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-25 08:00:39 +00:00
26fabd91b9 Ensure build scripts fail if attempting to run them from different
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-25 07:57:03 +00:00
adde1db0f4 Finalise generating the state table
7eec0e0730 Add generating the table to the main build script
6c454fbb8e Add char_type function to lexer.c but exclude it from build
Compare 3 commits »
abdelrahman created branch state-table in abdelrahman/helloJSON 2023-07-23 21:49:57 +00:00
abdelrahman pushed to state-table at abdelrahman/helloJSON 2023-07-23 21:49:57 +00:00
fd8231b02d Pull states and inputs enums to a separate header
09f2315b66 Test generating a state transition table
91162654b3 Initial work on converting the state machine to a state table
6e93d3ecd1 Update .gitignore
Compare 4 commits »
abdelrahman pushed to main at abdelrahman/performance-aware-programming 2023-07-23 15:36:40 +00:00
19c02b4e99 Update the profiler to allow for different level of profiling
0e973feb38 Include the IDs from the update location
3af3a72472 Move the IDs to the processor
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/performance-aware-programming 2023-07-23 13:22:22 +00:00
8e17765774 Update the timer to properly handle recursion and deep call stacks
f8cd7d253e Update .gitignore
46bc7e03a4 Add debug config for timer_test
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/performance-aware-programming 2023-07-23 10:33:23 +00:00
419a7c8534 Ensure compile is executable
abdelrahman pushed to main at abdelrahman/helloJSON 2023-07-12 21:34:59 +00:00
9cba0172b9 Update is_valid_hex_char
abdelrahman pushed to main at abdelrahman/helloJSON 2023-07-12 21:15:58 +00:00
ba813ea5bf Switch to using dstring as a submodule
abdelrahman pushed to main at abdelrahman/performance-aware-programming 2023-07-11 23:45:50 +00:00
2d74f02138 Use the updated free_json and profile it