Commit Graph

152 Commits

Author SHA1 Message Date
Kelvin Sherlock
db8e9af504 macroman / utf 8 conversions. 2016-07-23 15:21:13 -04:00
Kelvin Sherlock
fac76f1b54 shell tokenizer -- support extended characters. 2016-07-23 15:20:56 -04:00
Kelvin Sherlock
5c333cbedd -v doesn't take a parameter. 2016-07-23 15:20:24 -04:00
Kelvin Sherlock
34900a00b8 clean up must_quote a little bit, 2016-07-23 12:58:01 -04:00
Kelvin Sherlock
da92eb4e36 clean up tokenizer. 2016-07-23 12:50:38 -04:00
Kelvin Sherlock
c28cfb0710 rewrite phase-2 lexical analysis. It splits on ; ( ) || && and I've deferred the invalid string checks until later. 2016-07-23 11:54:46 -04:00
Kelvin Sherlock
31f33096cb ERROR terminal for parser. 2016-07-23 11:40:40 -04:00
Kelvin Sherlock
6d929aa87f convert utf8 input to macroman. 2016-07-21 15:14:27 -04:00
Kelvin Sherlock
80aaaa208d -f flag (don't load Startup file) 2016-07-21 11:48:41 -04:00
Kelvin Sherlock
fed90b3753 rewrite phase1 in C -- slightly strange processing is ugly in ragel.
Also move error checking for strings/variables until later.
2016-07-21 11:46:39 -04:00
Kelvin Sherlock
0ba9574d2d adjust cmakelist 2016-07-19 13:40:57 -04:00
Kelvin Sherlock
40a92c7976 remove old file 2016-07-19 13:40:46 -04:00
Kelvin Sherlock
5f9293a9e2 remove old files no longer in use. 2016-07-19 12:58:27 -04:00
Kelvin Sherlock
7984ccca54 travis - make no longer needs to be installed. 2016-07-19 12:47:38 -04:00
Kelvin Sherlock
42806cdd9b . 2016-07-19 12:37:25 -04:00
Kelvin Sherlock
686bee2578 proper -h help. 2016-07-19 12:37:12 -04:00
Kelvin Sherlock
adbf776d31 --shell support in MPW 2016-07-19 12:37:02 -04:00
Kelvin Sherlock
b4db751cbe fix parenthesis processing. left-paren is only a command when it's argv0. Otherwise it's a normal character. (but must be balanced with right-paren to know when right-paren is a separator. ). 2016-06-26 13:04:32 -04:00
Kelvin Sherlock
84b24e6379 more child signal stuff. 2016-06-24 14:37:33 -04:00
Kelvin Sherlock
e51e757556 re-set child signal handlers to default. 2016-06-24 14:30:27 -04:00
Kelvin Sherlock
bc2381a360 fix whitespace 2016-06-24 10:31:34 -04:00
Kelvin Sherlock
a44d2d3e4d user map for environment variables so they print in alphabetical order. 2016-06-22 13:48:26 -04:00
Kelvin Sherlock
45eade7af5 builtin_alias / builtin_unalias. 2016-06-22 13:48:05 -04:00
Kelvin Sherlock
6bfad57a35 offset_range 2016-06-22 13:46:19 -04:00
Kelvin Sherlock
ca6d8a453e Bump Version: 0.2 2016-06-17 22:22:43 -04:00
Kelvin Sherlock
a15c6fbd65 clean up env set via number. 2016-06-16 22:00:03 -04:00
Kelvin Sherlock
ef99bb40de version bump 2016-06-16 21:55:39 -04:00
Kelvin Sherlock
d56d689f98 Bump Version: 0.2 2016-06-16 21:54:19 -04:00
Kelvin Sherlock
8a2b9ec3cd shift builtin. 2016-06-16 16:48:04 -04:00
Kelvin Sherlock
c8f1e370dc update readme 2016-06-16 09:39:43 -04:00
Kelvin Sherlock
92ddf18766 FOR var IN ... ; END support. 2016-06-16 00:04:29 -04:00
Kelvin Sherlock
701786277b . 2016-06-15 23:19:34 -04:00
Kelvin Sherlock
97bcf8259d updated readme 2016-06-15 23:04:14 -04:00
Kelvin Sherlock
322a32af65 support for Loop ... End, Break, and Continue. 2016-06-15 23:01:03 -04:00
Kelvin Sherlock
edd80fc3c5 version builtin 2016-06-15 13:25:41 -04:00
Kelvin Sherlock
7724ca0d7c add Exists builtin. 2016-06-15 11:25:25 -04:00
Kelvin Sherlock
6ff7b50a7d use atomic variable for the control-c flag. 2016-02-22 12:03:58 -05:00
Kelvin Sherlock
fafb08b90a use _PATH_DEFPATH if $PATH is null. 2016-02-22 12:02:27 -05:00
Kelvin Sherlock
56b0c93fd7 extra stuff 2016-02-22 09:59:50 -05:00
Kelvin Sherlock
0d0367ca08 builtin about box, bump version number. 2016-02-11 21:50:25 -05:00
Kelvin Sherlock
ca4fafb62c filesystem::canonical 2016-02-11 20:50:38 -05:00
Kelvin Sherlock
7d18720162 use filesystem::current_path for builtin_directoery 2016-02-11 20:50:24 -05:00
Kelvin Sherlock
034321830f command updates 2016-02-11 15:51:56 -05:00
Kelvin Sherlock
beb3e3813a builtin_which 2016-02-11 15:51:39 -05:00
Kelvin Sherlock
a6913f7c46 Environment::get 2016-02-11 15:49:19 -05:00
Kelvin Sherlock
a7dce37fe6 shell -- use filesystem::path stuff 2016-02-11 15:49:05 -05:00
Kelvin Sherlock
50f171d5c8 which command 2016-02-11 15:48:46 -05:00
Kelvin Sherlock
446e3e5e1e move cxx stuff into cxx directory 2016-02-11 15:46:40 -05:00
Kelvin Sherlock
9316311a1d mow-make -- load startup. also, don't hardcode path 2016-02-10 23:54:12 -05:00
Kelvin Sherlock
4131616420 clean up whitespace coalesce a bit 2016-02-10 23:53:41 -05:00