Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: Legimet on February 02, 2015, 10:45:19 pm

Title: Duktape - A JavaScript interpreter for the Nspire
Post by: Legimet on February 02, 2015, 10:45:19 pm
This is a port of Duktape (http://duktape.org/), a lightweight JS interpreter, to the TI-Nspire.
It can run in interactive mode (NspireIO) or run a .js file from the documents screen. To exit from interactive mode type "exit()".

Download: https://tiplanet.org/forum/archives_voir.php?id=153555 (https://tiplanet.org/forum/archives_voir.php?id=153555)
Source: https://github.com/Legimet/duktape-nspire (https://github.com/Legimet/duktape-nspire)
Title: Re: Duktape - A Javascript interpreter for TI-Nspire calculators
Post by: Sorunome on February 03, 2015, 06:35:19 am
This sounds awesome O.O
Title: Re: Duktape - A JavaScript interpreter for TI-Nspire calculators
Post by: Ivoah on February 06, 2015, 08:35:34 am
Another programming language for the Nspire! This is awesome!
Title: Re: Duktape - A JavaScript interpreter for TI-Nspire calculators
Post by: Legimet on June 26, 2015, 11:12:36 pm
An article about this was just released on TI-Planet: https://tiplanet.org/forum/viewtopic.php?f=43&t=16900 :)
Title: Re: Duktape - A JavaScript interpreter for the Nspire
Post by: Legimet on December 11, 2015, 02:58:15 pm
After updating to Duktape 1.3.1, I've merged fgalliat's (https://github.com/fgalliat) contribution, which added some graphics functions to draw basic shapes such as lines, circles, polygons, etc. :)

An example can be seen here (https://raw.githubusercontent.com/Legimet/duktape-nspire/master/examples/xts_test.js.tns).

(https://cloud.githubusercontent.com/assets/3747118/9986943/865fdcd6-6042-11e5-95bb-bb5b2c12d967.png)
Title: Re: Duktape - A JavaScript interpreter for the Nspire
Post by: Art_of_camelot on December 28, 2015, 08:30:32 am
Looks neat! :)
Title: Re: Duktape - A JavaScript interpreter for the Nspire
Post by: Ivoah on December 28, 2015, 08:04:45 pm
How is performance compared to C, C++, lua or micropython?