Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-14 | Implemented tokenise_literal_hex | Aryadev Chavali | |
Note the overall size of this function in comparison to the C version, as well as its clarity. Of course, it is doing allocations in the background through std::string which requires more profiling if I want to make this super efficientâ„¢ but honestly the assembler just needs to work, whereas the runtime needs to be fast. | |||
2024-04-14 | Implemented tokenise_literal_number (tokenise_number) | Aryadev Chavali | |
2024-04-14 | Started implementing lexer in lexer.cpp | Aryadev Chavali | |
The implementation for tokenise_symbol is already a lot nicer to look at and add to due to string/string_view operator overloading of ==. Furthermore, error handling through pair<> instead of making some custom structure which essentially does the same thing is already making me happy for this rewrite. |