Commit Graph

160 Commits

Author SHA1 Message Date
Kelvin Sherlock 42f9552352 nl @ end. 2016-09-24 12:49:10 -04:00
Kelvin Sherlock fa804e91f0 clean up cmakefile a little bit more. 2016-08-31 14:43:29 -04:00
Kelvin Sherlock 0ec15bcd63 lunix headers. 2016-08-30 20:59:44 -04:00
Kelvin Sherlock 06e2e1f309 improved option parsing for mpw-make. 2016-08-30 20:57:37 -04:00
Kelvin Sherlock 32c72cb89a update readme. 2016-08-30 20:56:54 -04:00
Kelvin Sherlock f125b533f7 Squashed commit of the following:
commit f0944a89f27e44b1764988806e655f09764e80df
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Aug 30 12:24:08 2016 -0400

    exit throws execution of input error w/ possible 0 value.  catch it.

commit 9e7f9c1ae049aa26513413f4767268b47ee22e98
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Aug 30 12:23:21 2016 -0400

    builtins - more consistent argument handling.

commit be4c1c902f5a3a3f01e92ae52c7d6cc5d8731b65
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Aug 30 12:23:01 2016 -0400

    .

commit 68d0c29fec112c6e7bc3a672b41eb7eb758a8941
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Aug 30 12:22:51 2016 -0400

    exit command.

commit 25b0a7f7da9220b03026123bb5072c2da1d73fde
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Aug 30 12:21:16 2016 -0400

    builtin quit command.
2016-08-30 12:25:43 -04:00
Kelvin Sherlock f6c5478063 gcc/case sensitive fixes. 2016-08-17 13:14:38 -04:00
Kelvin Sherlock efd51bcb48 load UserStartup file. 2016-08-17 13:14:16 -04:00
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