5 releases

✓ Uses Rust 2018 edition

0.2.2 Jan 18, 2020
0.2.1 Jan 1, 2020
0.2.0 Dec 27, 2019
0.1.1 Sep 21, 2019
0.1.0 Sep 18, 2019

#16 in #scripting

Download history 8/week @ 2019-10-18 10/week @ 2019-10-25 5/week @ 2019-11-01 2/week @ 2019-11-08 3/week @ 2019-11-15 4/week @ 2019-11-22 6/week @ 2019-11-29 34/week @ 2019-12-06 2/week @ 2019-12-13 30/week @ 2019-12-27 7/week @ 2020-01-03 45/week @ 2020-01-10 54/week @ 2020-01-17

52 downloads per month
Used in molt-app

BSD-3-Clause

375KB
6.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.


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
~26K SLoC