Commit graph

47 commits

Author SHA1 Message Date
Aidan
7c04e3de95
integrate environment variables with vartable 2020-06-26 21:17:18 -07:00
Aidan
9301c77573
MVP grade arithmetic routines 2020-06-26 20:17:45 -07:00
Aidan
6a66c00ae5
show an entire empty list when printing an empty list 2020-06-21 15:37:54 -07:00
Aidan
3b0fb09e30
rework eval loop to unwrap lists when function calls return 2020-06-21 15:32:47 -07:00
Aidan
1889942db8
fixed append bug 2020-06-21 13:59:09 -07:00
Aidan
fe5afcb345
update stdlib append after testing 2020-06-21 13:14:08 -07:00
Aidan
9c25ac21f9
changed table types to support implementing 'let', also integrated stdlib into repl 2020-06-21 12:46:25 -07:00
Aidan
b01415d786
add list functions to stdlib 2020-06-21 12:29:20 -07:00
Aidan
49ea765e40
fix typo in readme 2020-06-21 11:14:18 -07:00
Aidan
0b3bac7bca
add stdlib package with readme 2020-06-21 11:11:57 -07:00
Aidan
c40aea7326
prototype repl 2020-06-21 01:30:54 -07:00
Aidan
30481d4f78
clean up build errors 2020-06-20 22:56:22 -07:00
Aidan
72e1275e48
we didnt need that type anyways 2020-06-20 21:38:46 -07:00
Aidan
78973ac067
refactored ast tables, added eval method 2020-06-20 20:59:52 -07:00
Aidan
cf3255f015
refactored to correctly use module structure 2020-06-17 00:31:29 -07:00
Aidan Hahn
640dbb183e
Redid lex process 2019-11-29 19:02:30 -08:00
Aidan Hahn
c52391da07
added contribution guide 2019-11-29 13:08:40 -08:00
Aidan Hahn
02585487a3
fix name, add license, write readme 2019-11-29 12:57:03 -08:00
Aidan Hahn
b0d9bb4643
refactored print loop, project structure 2019-11-29 00:02:00 -08:00
Aidan Hahn
aaa0a8a507
Lexer is significantly better tested and more advanced 2019-11-28 23:51:19 -08:00
Aidan Hahn
65cecb3647
way better lex function 2019-11-28 22:43:30 -08:00
Aidan Hahn
6f7adc0789
sync
:
2019-11-28 20:24:50 -08:00
Aidan Hahn
7e175dec95
It builds 2019-11-28 20:07:28 -08:00
Aidan Hahn
7aa80376bb
Finished Pretty Print function 2019-11-28 10:23:02 -08:00
Aidan Hahn
84013cb4a0
fleshed out GetVar, added Token stack collection, started printing module 2019-11-28 08:57:12 -08:00
Aidan
516fda54b3
started work on variable table 2019-11-28 01:04:51 -08:00
Aidan
4e0890053d
Removed finished TODO 2019-11-28 00:44:28 -08:00
Aidan
8a36697002
Actually there was a glaring omission in the previous few commits 2019-11-28 00:43:54 -08:00
Aidan
4f9663acf0
Finished Lexing 2019-11-28 00:42:47 -08:00
Aidan
8643824bb6
Wow! finished function table, almost finished with lexing as a whole 2019-11-28 00:39:08 -08:00
Aidan
bb070592a6
had an idea or two 2019-11-21 21:10:22 -08:00
Aidan
2b5e43a322
implemented data types for symbol table 2019-11-21 20:59:14 -08:00
Aidan
f3c0f366d2
sketched out more TODOs 2019-11-21 20:32:00 -08:00
Aidan
900ab87f92
basic parsing functions, to be improved later 2019-11-21 19:58:28 -08:00
Aidan
45d32cef6b
fleshed out parser loop 2019-11-19 19:15:20 -08:00
Aidan Hahn
cb84db53d8
fixed recursive case for lexing a list 2019-11-18 23:24:33 -08:00
Aidan Hahn
d38f53208b
repo oops 2019-11-18 22:44:24 -08:00
Aidan Hahn
8faa02f7f7
good restructure: less code 2019-11-16 16:16:05 -08:00
Aidan
fd7cab77f4
improved lex function layout, fleshed out some cases 2019-11-16 01:08:01 -08:00
Aidan Hahn
ac6d039ed5
move iterator 2019-11-12 14:17:04 -08:00
Aidan Hahn
279e0d7ee1
forgot to finish documenting an enum 2019-11-12 14:10:07 -08:00
Aidan Hahn
6e57fe7e09
many notes to self 2019-11-12 13:25:53 -08:00
Aidan Hahn
123301881e
better skel for lex 2019-11-12 13:09:31 -08:00
Aidan Hahn
dcb23e08d8
fix typo in last commit 2019-11-12 13:02:31 -08:00
Aidan Hahn
9799eb2931
skel for lex function 2019-11-12 13:02:06 -08:00
Aidan Hahn
b28ba051e9
improved token design 2019-11-12 12:24:45 -08:00
Aidan
8e767754f2
project layout 2019-11-06 20:38:50 -08:00