Author Topic: Duktape - A JavaScript interpreter for the Nspire  (Read 12003 times)

0 Members and 1 Guest are viewing this topic.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Duktape - A JavaScript interpreter for the Nspire
« on: February 02, 2015, 10:45:19 pm »
This is a port of Duktape, 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
Source: https://github.com/Legimet/duktape-nspire
« Last Edit: December 11, 2015, 02:59:05 pm by Legimet »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Duktape - A Javascript interpreter for TI-Nspire calculators
« Reply #1 on: February 03, 2015, 06:35:19 am »
This sounds awesome O.O

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Duktape - A JavaScript interpreter for TI-Nspire calculators
« Reply #2 on: February 06, 2015, 08:35:34 am »
Another programming language for the Nspire! This is awesome!
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Duktape - A JavaScript interpreter for TI-Nspire calculators
« Reply #3 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 :)

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Duktape - A JavaScript interpreter for the Nspire
« Reply #4 on: December 11, 2015, 02:58:15 pm »
After updating to Duktape 1.3.1, I've merged fgalliat's contribution, which added some graphics functions to draw basic shapes such as lines, circles, polygons, etc. :)

An example can be seen here.


Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Duktape - A JavaScript interpreter for the Nspire
« Reply #5 on: December 28, 2015, 08:30:32 am »
Looks neat! :)

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Duktape - A JavaScript interpreter for the Nspire
« Reply #6 on: December 28, 2015, 08:04:45 pm »
How is performance compared to C, C++, lua or micropython?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3