Commit graph

81 commits

Author SHA1 Message Date
Aidan
f98cd75160
load from config file 2020-07-03 02:02:12 -07:00
Aidan
0d7eb4139b
dont require top level parens 2020-07-03 01:05:25 -07:00
Aidan
de3e3e5d4e
file operations in stdlib 2020-07-02 19:35:22 -07:00
Aidan
1802bce604
fix cd bug 2020-07-02 16:44:14 -07:00
Aidan
a5f157dbd7
add input function 2020-07-02 16:27:22 -07:00
Aidan
c253dc6375
fix typo, update tag to string function 2020-06-30 20:53:40 -07:00
Aidan
53adeacc6d
use constants for True and False instead of tokens 2020-06-30 20:36:45 -07:00
Aidan
a216d9af41
add rudimentary control flow 2020-06-30 20:27:12 -07:00
Aidan
de5566b3ec
add info func 2020-06-29 21:21:30 -07:00
Aidan Hahn
c726520689 Merge branch 'better-eval' into 'dev'
Better eval

See merge request whom/shs!3
2020-06-30 02:21:36 +00:00
Aidan
2ae1145a50
retrofit call functions for new eval alg 2020-06-29 19:15:00 -07:00
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