Legimet 51f9f2d3bc Update to Duktape v2.3.0 | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
examples | %!s(int64=9) %!d(string=hai) anos | |
.gitignore | %!s(int64=9) %!d(string=hai) anos | |
COPYING | %!s(int64=9) %!d(string=hai) anos | |
COPYING.LESSER | %!s(int64=9) %!d(string=hai) anos | |
Makefile | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
duk_config.h | %!s(int64=6) %!d(string=hai) anos | |
duk_console.c | %!s(int64=7) %!d(string=hai) anos | |
duk_console.h | %!s(int64=7) %!d(string=hai) anos | |
duk_module_node.c | %!s(int64=7) %!d(string=hai) anos | |
duk_module_node.h | %!s(int64=7) %!d(string=hai) anos | |
duk_print_alert.c | %!s(int64=7) %!d(string=hai) anos | |
duk_print_alert.h | %!s(int64=7) %!d(string=hai) anos | |
duktape.c | %!s(int64=6) %!d(string=hai) anos | |
duktape.h | %!s(int64=6) %!d(string=hai) anos | |
floodfill.h | %!s(int64=8) %!d(string=hai) anos | |
framebuffer.h | %!s(int64=8) %!d(string=hai) anos | |
fs.c | %!s(int64=7) %!d(string=hai) anos | |
fs.h | %!s(int64=9) %!d(string=hai) anos | |
main.c | %!s(int64=7) %!d(string=hai) anos | |
misc.c | %!s(int64=7) %!d(string=hai) anos | |
misc.h | %!s(int64=7) %!d(string=hai) anos | |
module.c | %!s(int64=7) %!d(string=hai) anos | |
module.h | %!s(int64=7) %!d(string=hai) anos | |
nsp_keys.c | %!s(int64=7) %!d(string=hai) anos | |
nsp_keys.h | %!s(int64=9) %!d(string=hai) anos | |
nsp_texture.c | %!s(int64=7) %!d(string=hai) anos | |
nsp_texture.h | %!s(int64=9) %!d(string=hai) anos |
Duktape-nspire provides a JavaScript (ECMAScript) interpreter for the TI-Nspire handheld calculator. It combines the Duktape Javascript engine with a set of Nspire-specific modules and module support, and a REPL (using Nspire I/O for its interface).
The calculator must have Ndless installed. To get to the interactive Nspire I/O console, run Duktape
directly from the document browser. Type .exit
to exit.
You can also run scripts with a .js extension from the document browser. The extension should be
registered with duktape
. This is done automatically the first time you run Duktape from the
document browser, but you can also register it manually by editing ndless.cfg.tns
.
The following modules are available right now:
These modules are not complete, and more functions and modules will be added in the future.
Duktape-nspire is licensed under the GNU LGPL, version 3 or above:
Copyright (C) 2015 Legimet
This file is part of Duktape-nspire.
Duktape-nspire is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Duktape-nspire is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with Duktape-nspire. If not, see http://www.gnu.org/licenses/.
Duktape itself is licensed under the MIT License (Expat), which can be found in the file duktape.h
.