csanchezdll opened a new pull request, #3646:
URL: https://github.com/apache/nuttx-apps/pull/3646
## Summary
Tcl is added using The Jim Interpreter. Jim is an opensource small-footprint
implementation of the Tcl programming language. It implements a large subset of
Tcl and adds new features like references with garbage collection, closures,
built-in Object Oriented Programming system, Functional Programming commands,
first-class arrays and UTF-8 support.
## Impact
Build should be straightforward, just enable the application inside the
"Interpreters" section of the configuration. You need to make sure you have
`setjmp` support, so consider enabling it in "Build Setup" -> "Customize Header
Files".
## Testing
Tested on master, with a minimal custom board with a STM32H5. Planning to
test on a nucleo as soon as I can get one.
```
NuttShell (NSH) NuttX-13.0.0
nsh> jimsh
Welcome to Jim version 0.83
. puts "hello world"
. exit
hello world
nsh> jimsh
Welcome to Jim version 0.83
. foreach i {a b c} {
{> puts $i
{> }
. exit
a
b
c
nsh>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]