Commit graph

120 commits

Author SHA1 Message Date
Aidan
ea99142b3a
retrofitted string functions 2020-06-29 17:06:27 -07:00
Aidan
d70a5ec77c
retrofitted filesys functions 2020-06-29 16:58:43 -07:00
Aidan
7c630d5a38
retrofitted arithmetic functions 2020-06-29 12:51:41 -07:00
Aidan
f3e39e156c
bool functions retrofitted for eval change 2020-06-29 12:26:01 -07:00
Aidan
2151b6c5d2
fixed expand function 2020-06-29 00:10:54 -07:00
Aidan
2a2e5b4527
new eval.go 2020-06-29 00:07:09 -07:00
Aidan
89d6a1013b
boolean system 2020-06-28 20:06:55 -07:00
Aidan
e7d25057f6
add jobs, kill commands 2020-06-28 18:01:36 -07:00
Aidan
37c56cb322
fix bg/fg implementations 2020-06-28 17:00:44 -07:00
Aidan
b5c7162555
fix for arithmetic routines 2020-06-28 14:51:20 -07:00
Aidan Hahn
e916c82fa6 Merge branch 'tweaks-for-shell-use' into 'master'
Tweaks for shell use

See merge request whom/shs!2
2020-06-28 21:47:56 +00:00
Aidan
f1cc9b7f8c
function calls no longer return number tokens (cleaner output), added ? command to get return code 2020-06-28 14:20:17 -07:00
Aidan
ffef8a96e7
call system executables from undefined function calls 2020-06-28 14:13:44 -07:00
Aidan Hahn
40fba4716b Merge branch 'gitlab-migration' into 'master'
remove extra mod files

See merge request whom/shs!1
2020-06-28 20:58:33 +00:00
Aidan
588762fea3
remove extra mod files 2020-06-28 13:56:55 -07:00
Aidan
f2f9c66e03
remove extra mod files 2020-06-28 13:53:24 -07:00
Aidan
baa4ce0300
migrate modules and whatnot to gitlab 2020-06-28 13:51:08 -07:00
Aidan
c7008bb19e
migrate to my main gitlab 2020-06-28 13:47:44 -07:00
Aidan
d17e975cc8
catch SIGTERM meant for running process 2020-06-27 21:54:14 -07:00
Aidan
3c2dde3665
integrated readline 2020-06-27 21:27:33 -07:00
Aidan
eb85a10415
added some string functions 2020-06-27 21:08:21 -07:00
Aidan
af184d9176
stdlib Call, fg, bg, $, and cd functions. wow 2020-06-27 20:31:49 -07:00
Aidan
94c9b2beba
avoid disaster regarding setting of env variables from number tokens 2020-06-26 22:00:10 -07:00
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