2016-06-24 14:37:33 -04:00
2016-02-11 20:50:38 -05:00
2016-02-22 09:59:50 -05:00
2016-01-27 10:43:34 -05:00
2016-02-05 12:25:51 -05:00
2016-06-22 13:48:05 -04:00
2016-06-22 13:48:05 -04:00
2016-06-24 14:37:33 -04:00
2016-06-16 00:04:29 -04:00
2016-02-05 23:00:42 -05:00
2016-01-30 12:44:42 -05:00
2016-02-04 21:57:17 -05:00
2016-06-16 21:55:39 -04:00
2016-01-27 10:43:34 -05:00
2016-01-27 10:43:34 -05:00
2016-02-01 20:38:29 -05:00
2016-02-01 20:38:29 -05:00
2016-01-27 10:43:34 -05:00
.
2016-01-29 22:23:35 -05:00
2016-06-16 21:55:39 -04:00
2016-02-01 20:38:29 -05:00
2016-01-27 10:43:34 -05:00
2016-06-16 21:55:39 -04:00
2016-02-05 12:42:22 -05:00
2016-02-10 23:53:41 -05:00
2016-02-05 12:42:22 -05:00
2016-06-16 21:55:39 -04:00
2016-06-16 09:39:43 -04:00
2016-01-27 10:43:34 -05:00
2016-01-27 10:43:34 -05:00
2016-06-17 22:22:43 -04:00

MPW Shell

MPW Shell is a re-implementation of the Macintosh Programmer's Workshop shell. The primary reason is to support MPW Make (which generated shell script). It may also be useful for other things.

Supported features

  • If ... [Else If] ... [Else] ... End
  • Begin ... End
  • Loop ... End
  • For name In [word...] ... End
  • Break [If], Continue [If]
  • ( ... )
  • ||
  • &&
  • redirection

Not supported

  • pipes (|)
  • subshells (..., ...)
  • text-editing commands (search forward/backward, regular expressions, et cetera)

Builtin Commands

  • AboutBox
  • Directory
  • Echo
  • Exists
  • Export
  • Parameters
  • Quote
  • Set
  • Unexport
  • Unset
  • Version
  • Which

Setup

  1. Install MPW. The mpw binary should be somewhere in your $PATH. It also checks /usr/local/bin/mpw and $HOME/mpw/bin/mpw
  2. Copy the Startup script to $HOME/mpw/. This script is executed when mpw-shell (or mpw-make) starts up (imagine that) and should be used to set environment variables.
Description
A shell for those that prefer Macintosh Programmer's Workshop.
mpw
Readme 351 KiB
Languages
C++ 87.6%
Ragel 10.1%
CMake 1.7%
C 0.4%
Ruby 0.2%