mjsish

0.0.6 • Public • Published

mjsish

build Status dependency status dev dependency status

Metascript interactive shell and IDE supporting tools.

Setup

npm install -g mjsish

Usage

mjsish starts a vanilla metascript repl.

The repl accumulates lines until an empty line or a line ending in a semicolon is entered and then evaluates the whole input. It has basic readline support but you might get a better experience at this point by using rlwrap.

rlwrap mjsish --no-tty

mjsish -j gets the repl to output the generated javascript code before evaluation.

Todo

  • when starting the repl from a nodejs package directory, require should be relative to the package
  • repl should remember #metaimport directives
  • --metaimport command line to automatically import macros into the repl environment
  • server mode
  • symbol server - watches a directory with mjs files and allow queries for symbol locations
  • TAB completion
  • --require command line to automatically inject modules into the repl environment

Readme

Keywords

Package Sidebar

Install

npm i mjsish

Weekly Downloads

0

Version

0.0.6

License

GPLv3

Last publish

Collaborators

  • bamboo