Logo
Explore Help
Sign In
glm94/clox
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Projects Releases Wiki Activity
16 Commits 3 Branches 0 Tags
1b33468343df6922ecda0aff2d453332ffc27a17
Commit Graph
10 Commits
Author SHA1 Message Date
glm94 1b33468343 Added a Makefile, removed the build script and had to modify the function names for either the scanner or parser so they didn't collide. Refactoring should be the next step here. 2022-03-01 18:03:57 +00:00
glm94 227d566261 Not the cleanest way to do this but added in keyword detection. 2022-02-17 21:52:26 +00:00
glm94 c55a3434de Implemented identifier detection but keywords in the programming language aren't detected yet. 2022-02-15 16:32:35 +00:00
glm94 aa7dff31ff Implemented number parsing. 2022-02-15 15:59:17 +00:00
glm94 f1a468aebc Added support for string literals. 2022-02-14 19:38:49 +00:00
glm94 5b90c98123 Fixed the '!=' detection bug. 2022-02-14 17:21:35 +00:00
glm94 db54e8f888 Added Peek() and Match() as well as a bugged '!=' detection. 2022-02-14 17:06:30 +00:00
glm94 7bdbb9f53a Refactored the scanner and updated the Token struct to store the length of its lexeme to avoid malloc()ing new strings for every token. 2022-02-10 17:17:33 +00:00
glm94 2d84019e58 Created the list structure for the tokens to be stored and some helper functions. 2022-02-09 21:47:54 +00:00
glm94 d6a3935588 Setup a skeleton for the scanner. 2022-02-09 19:53:57 +00:00
Powered by Gitea Version: 1.27.0 Page: 26ms Template: 5ms
Dark
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API