numworks / epsilon

Modern graphing calculator operating system.
https://www.numworks.com/resources/engineering/software/
1.75k stars 467 forks source link

Lua, Javascript and Assembly support #2035

Open Destroyinator69420 opened 1 year ago

Destroyinator69420 commented 1 year ago

I am looking into purchasing a numworks calculator, but I am concerned about python as the only programming langauge. I would like to see Lua and Javascript as well. The Lua interpreter at lua.org can be easily ported, although to be successful it will need the same bindings as in the python interpreter. I would also like to see a javascript interpreter, the one I recommend is quickjs by Fabrice Bellard at bellard.org. Like Lua, quickjs will need the same bindings as the python interpreter to be successful.

Port Lua and quickjs to epsilon and give them the same bindings as python.

An alternative would be to make an official c++ sdk available for epsilon.

adriweb commented 1 year ago

Lua has been ported already by someone using the sdk : https://www.nwagyu.com/apps/ And I believe KhiCAS has QuickJS built-in, although I don't remember if it's in the/this NumWorks port.

BloomyInDev commented 1 year ago

KhiCAS has QuickJS built-in in External apps from others OS, idk if it's in the NWA app

adriweb commented 1 year ago

Yeah maybe not, but regardless it should be possible to port it in a stand-alone way similar to Lua.