You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
蔡享 ee36ad151a PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
..
bas PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
duktape PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
ficl PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
lua PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
minibasic PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
quickjs PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
wamr PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
wasm3 PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
.gitignore PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
Make.defs PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
Makefile PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago
README.md PX4 v1.17.0 + cuav 7-nano minimal_vtol 1 month ago

README.md

Interpreters

This apps/ directory is set aside to hold interpreters that may be incorporated into NuttX.

Ficl

This is DIY port of Ficl (the Forth Inspired Command Language). See http://ficl.sourceforge.net/. It is a DIY port because the Ficl source is not in that directory, only an environment and instructions that will let you build Ficl under NuttX. The rest is up to you.

Lua

Fetch and build a Lua interpreter. Versions 5.2 through 5.4 are supported. The lua command will be added to NSH. Lua can run a script for a given path, execute a string of code, or open a readline compatible REPL on the NSH console. The <lua.h> and <lauxlib.h> headers are available to start a new embedded interpreter or extend Lua with C modules. See the luamod_hello example for how to include a built-in module.

A math library is required to build. Enable the LIBM config or use a toolchain provided math library.

The following configs are recommended for a full featured Lua interpreter:

  • LIBC_FLOATINGPOINT
  • SYSTEM_READLINE

Mini Basic

The Mini Basic implementation at apps/interpreters derives from version 1.0 by Malcolm McLean, Leeds University, and was released under the Creative Commons Attibution license. I am not legal expert, but this license appears to be compatible with the NuttX BSD license see: https://creativecommons.org/licenses/. I, however, cannot take responsibility for any actions that you might take based on my understanding. Please use your own legal judgement.