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

#345 in Profiling

42 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

~5.5MB
~93K SLoC