molt
molt copied to clipboard
Embeddable TCL Interpreter for Rust applications
Hi @wduquette, please review my PR that fixes the macro bug when `molt::{ Value, Exception }` is not included in user code. Before this fix, the following user code would...
Currently, only functions can be passed to `add_command`. I think it would be more useful if closures were accepted too. Could you please implement this functionality?
Hi Will -- it's Jonathan! This weekend, I'm making good on my years-old promise to check out Molt. Feel free to take or leave the changes in this PR; I...
Hi, While the "cargo run shell" works and I get the familiar prompt and basic commands work Running the test fail as: cargo run test molt/tests/all.tcl Finished dev [unoptimized +...
Because the first thing you do when you mistype a command is press up-arrow to bring it back so you can edit it. At present, the `molt_shell::repl` function only adds...
I need to install and take advantage of the features of the latest mdbook tool. In particular, the code examples should be drawn from doctests.
The Molt Book should contain an example of how to implement an external type.
Hi, I was trying to access $::env and I found this behavior: ``` $ moltsh shell Molt 0.3.0 % set ::foo(bar) spam spam % puts $::foo(bar) $::foo(bar) % puts ${::foo(bar)}...
In standard TCL, changes to the `env()` array are mirrored back to the process, and will affect any subprocesses spawned by the Molt process. Given that Molt currently does not...
[Jim Tcl](http://jim.tcl.tk/fossil/doc/trunk/Tcl_shipped.html) has the command line option `-e CMD` that prints the result of the last command in the script `CMD`. ``` > jimsh -e 'set a $argv; lappend a...