Logo
Explore Help
Sign In
glm94/clox
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Projects Releases Wiki Activity
25 Commits 3 Branches 0 Tags
e802c57a93ea95ac7078a9aec1976acb816d05f7
Commit Graph
10 Commits
Author SHA1 Message Date
glm94 caf4f02428 Minor cleanup. 2022-03-03 17:12:01 +00:00
glm94 7bf7304bd4 Attempting to print the expression tree. I think the printing code is fine but the Parser is bugged and not building the tree correctly. 2022-03-02 21:43:22 +00:00
glm94 221d575c16 Further refactoring done. The Parser runs without crashing, however it's output is still to be checked and verified. 2022-03-02 21:24:58 +00:00
glm94 e20ccb8cfb The Scanner has been refactored and some responsibilities were pulled from it. Confirmed working, the Parser still needs to be touched on however. 2022-03-02 20:52:40 +00:00
glm94 f1a468aebc Added support for string literals. 2022-02-14 19:38:49 +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 d6a3935588 Setup a skeleton for the scanner. 2022-02-09 19:53:57 +00:00
glm94 68882d05a3 Added an interactive shell, well the start of one. 2022-02-07 19:53:29 +00:00
glm94 8dbd655c43 Implemented the file reading routine and added the skeleton for the interpreter. 2022-02-07 19:25:08 +00:00
Powered by Gitea Version: 1.27.0 Page: 25ms 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