RebbleOS icon indicating copy to clipboard operation
RebbleOS copied to clipboard

WIP: Rocky.js Support

Open UDXS opened this issue 4 years ago • 3 comments

Rocky.js was Pebble's official on-watch JavaScript runtime (based on JerryScript). It was still in its early stages but is still usable for making watchfaces. This PR aims to fully implement the runtime and all the libraries for displaying watchfaces.

To-do

  • [X] JavaScript Loading
  • [x] Event Handling
  • [ ] Application Lifecycle (Management of draw calls, memory pressure, etc.)
  • [ ] AppMessage support
  • [ ] Canvas Rendering
  • [X] Tick timer
  • [ ] JavaScript standard library

UDXS avatar Mar 29 '20 18:03 UDXS

how can i contribute on this? i would like to help doing the std lib :P

ImUrX avatar Jun 24 '20 20:06 ImUrX

Thank you for your interest! Unfortunately, the event loop code was quite broken and, due to other work I had, the code ended up rotting as the codebase evolved without me regularly updating it. I'm working on redoing Rocky.js support with the better knowledge I have of the underlying Jerryscript engine now and I'll get back to you when library implementatoin needs to be done.

UDXS avatar Jun 24 '20 20:06 UDXS

Ok, good luck with the other stuff

ImUrX avatar Jun 24 '20 20:06 ImUrX