Commit Graph

146 Commits

Author SHA1 Message Date
Kelvin Sherlock
0422976719 generate config.h via CMake. 2016-08-09 15:29:10 -04:00
Kelvin Sherlock
2893f7fe79 PATH_MAX + 1 2016-08-09 14:47:11 -04:00
Kelvin Sherlock
34a4f431c0 noexcept mapped_file constructors. 2016-08-09 14:40:27 -04:00
Kelvin Sherlock
f3db9b7cc0 shut up warning 2016-08-09 14:40:00 -04:00
Kelvin Sherlock
a4e724a1a6 Bump Version: 0.3 2016-08-07 15:38:04 -04:00
Kelvin Sherlock
fbcbfffcb5 mapped file -- if length is 0, return an unopened mapped file. Posix would EINVAL on a length of 0. 2016-08-07 15:37:02 -04:00
Kelvin Sherlock
50ac7355bd solaris / PATH_MAX 2016-08-07 15:35:54 -04:00
Kelvin Sherlock
827f49c48b solaris... 2016-08-07 14:43:18 -04:00
Kelvin Sherlock
e2affa1bdd be more helpful if mpw / Startup file does not exist. 2016-08-06 17:55:26 -04:00
Kelvin Sherlock
76980a6e06 headers 2016-08-05 22:38:06 -04:00
Kelvin Sherlock
ba0fe6268f headers 2016-08-05 22:35:52 -04:00
Kelvin Sherlock
47b734a5fa headers. 2016-08-05 22:32:00 -04:00
Kelvin Sherlock
f9bbf7a2f8 gcc/lunix 2016-08-05 22:14:36 -04:00
Kelvin Sherlock
8c8a768530 gcc/lunix 2016-08-05 22:07:22 -04:00
Kelvin Sherlock
27c4eadf93 gcc/lunix 2016-08-05 22:06:36 -04:00
Kelvin Sherlock
ca54485061 gcc/lunix 2016-08-05 22:05:50 -04:00
Kelvin Sherlock
f8c596668f lunix/gcc updates. 2016-08-05 22:00:48 -04:00
Kelvin Sherlock
469f0a23c1 fix for false || true 2016-08-05 11:56:38 -04:00
Kelvin Sherlock
9d5d3ca9e8 lemon left-hand-side optimizations 2016-08-05 10:34:05 -04:00
Kelvin Sherlock
5b343cc7dd use updated lemon++. 2016-08-05 10:25:17 -04:00
Kelvin Sherlock
56f945ce29 simplify argv0 lookup a little bit. 2016-07-28 16:30:17 -04:00
Kelvin Sherlock
b9782a0926 phase 1 -- escape nl in comment joins the line. 2016-07-28 15:26:37 -04:00
Kelvin Sherlock
ed341db9fa clean up error reporting. 2016-07-28 14:03:52 -04:00
Kelvin Sherlock
edcb832c13 fix up execution a little more 2016-07-28 13:58:13 -04:00
Kelvin Sherlock
c2c41f3a52 rewrite command execution to be more consistent with real mpw. 2016-07-28 13:44:00 -04:00
Kelvin Sherlock
413b9a805b tokenizer -- remove quotes as separate step, return clean command line. 2016-07-28 13:43:33 -04:00
Kelvin Sherlock
a2a48fcba7 echo is const. 2016-07-28 13:42:29 -04:00
Kelvin Sherlock
ad523f258e clean up errors a little bit. 2016-07-28 13:42:18 -04:00
Kelvin Sherlock
544f3a994c fix << evaluation. 2016-07-27 16:28:48 -04:00
Kelvin Sherlock
683b06b3b5 fix shell expansion -- retain "s 2016-07-27 16:28:28 -04:00
Kelvin Sherlock
9b16e98133 fix up tokenizer a little bit 2016-07-27 16:28:11 -04:00
Kelvin Sherlock
fe76877693 rewrite variable expansion, add initial support for ... command expansion. 2016-07-27 14:06:57 -04:00
Kelvin Sherlock
47af010ba5 mpw errors 2016-07-27 14:04:57 -04:00
Kelvin Sherlock
1a98acb756 update readme a little more. 2016-07-26 20:22:38 -04:00
Kelvin Sherlock
933f23de91 update readme. 2016-07-26 19:50:04 -04:00
Kelvin Sherlock
62612a10d3 white space. 2016-07-26 16:07:51 -04:00
Kelvin Sherlock
05f48c6a3c implement pipe. 2016-07-26 16:07:44 -04:00
Kelvin Sherlock
0524d10590 parse | pipe lines. 2016-07-26 14:20:11 -04:00
Kelvin Sherlock
2fdca6ea9d builtin_which -- also check builtin commands. 2016-07-24 21:21:15 -04:00
Kelvin Sherlock
9b577bdbb1 builtin catenate (builtin so cr/lf conversion blocked) 2016-07-23 23:50:28 -04:00
Kelvin Sherlock
84737e1cf7 use binary search for unicode -> macron. 2016-07-23 16:05:05 -04:00
Kelvin Sherlock
f97625eba7 fix comment. 2016-07-23 16:04:13 -04:00
Kelvin Sherlock
a366bbf2cb mpw-make - exit on error if {exit} 2016-07-23 15:29:53 -04:00
Kelvin Sherlock
76d5c9a474 smarter utf8/macroman 2016-07-23 15:29:22 -04:00
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