Skip to content

An attempt to get a JavaScript engine onto the Texas Instruments 84+CE Calculator

License

Notifications You must be signed in to change notification settings

dispherical/js84

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js84

An attempt to get a JavaScript engine onto the Texas Instruments 84 Plus Color Edition Calculator. Uses Elk as the engine. elk.c and elk.h have a seperate license.

Functions are mapped 1-to-1 from C to JavaScript as best as possible.

Things Needed

  • node.js (if you wish to package files)
  • the CE Toolchain
  • sanity

How to package a file

  1. Install the toolchain
  2. Make a JavaScript file. See src/main.c for the currently defined functions.
  3. node index.js /path/to/javascript/file.js (e.g. node index.js ./examples/dump.js)
  4. make clean && make debug
  5. Tada! Load JS84.8xp onto your calculator.

Supported functions

Known bugs

  • Strings being passed to foreign functions don't seem to work. Printing a string causes it to become negative infinity or %.17g

About

An attempt to get a JavaScript engine onto the Texas Instruments 84+CE Calculator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages