7 releases

0.3.1 May 11, 2020
0.3.0 Apr 10, 2020
0.2.2 Jan 18, 2020
0.2.0 Dec 27, 2019
0.1.1 Sep 21, 2019

#353 in Parser implementations

Download history 18/week @ 2020-05-30 15/week @ 2020-06-06 4/week @ 2020-06-13 1/week @ 2020-06-20 11/week @ 2020-06-27 12/week @ 2020-07-04 14/week @ 2020-07-11 8/week @ 2020-07-18 2/week @ 2020-07-25 3/week @ 2020-08-01 18/week @ 2020-08-08 21/week @ 2020-08-15 8/week @ 2020-08-22 15/week @ 2020-08-29 27/week @ 2020-09-05 6/week @ 2020-09-12

65 downloads per month
Used in molt-app

BSD-3-Clause

425KB
7.5K SLoC

molt-shell -- Molt Application Frameworks

The molt-shell crate provides application frameworks for use with the Molt TCL interpreter:

  • A interpreter shell (REPL)
  • A benchmark harness

The Molt Book (and the rustdoc) explain how to create each of these kinds of apps; or see the molt-app crate for a straightforward example. molt-app defines moltsh, which provides a vanilla REPL, test tool, and benchmark tool, in one page of code.

The molt-sample repo contains a sample Molt extension, including a shell application and a library create, both of which define new Molt commands.

See The Molt Book for more details, and the GitHub Repo for issue tracking, etc.

New in Molt 0.3

  • Scripted REPL prompts

See the Annotated Change Log in the Molt Book for the complete list of new features by version.


lib.rs:

molt-shell -- The Molt REPL and Test Harness

This crate provides the code for adding the Molt REPL and related tools to a binary crate.

In each case, begin by creating a molt::Interp and adding any application-specific extensions. Then:

Dependencies

~1.5MB
~33K SLoC