Commit Graph

152 Commits

Author SHA1 Message Date
Kelvin Sherlock 33dd3228f8 update the parser/lexer to make it more reusable. For example, subshells are now handled. 2016-08-16 16:47:20 -04:00
Kelvin Sherlock 548880a517 support -ledit or -lreadline 2016-08-12 14:50:18 -04:00
Kelvin Sherlock 1da6c3e9da fix + / - confusion. 2016-08-11 16:09:39 -04:00
Kelvin Sherlock bdba86249e prevent pipe command from running commands multiple times. 2016-08-11 12:30:01 -04:00
Kelvin Sherlock 87f5398649 mpw-make -- find the Make program. 2016-08-10 20:08:28 -04:00
Kelvin Sherlock 811c8b976a ... and use the config.h 2016-08-09 15:29:28 -04:00
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