You are reading a single comment by @rm and its replies. Click here to read the full conversation.
  • Hi everyone.
    I've been navigating through the code if Espruino and the website for quite a while now (almost a week now), but I still could not end up with a solution to this.
    I'm working with some HW that is not supported by Espruino and would like to use it in my project.

    Unfortunately I could not find any interface in your code, nor any other way to separate the JS interpeter files from the rest. When I create the library it is always complaining about some extra calls that are missing,regardless what I include in the library.

    I've put a lot of effort into isolating the JS core interpreter from your project, but in the end there was absolutely no way to obtain a proper library with all and only the functions that handle JS.

    My guess about the most eligible files of the JS interpreter was this:
    espruino/src/jsparse.o
    espruino/src/jslex.o
    espruino/src/jsvar.o
    espruino/src/jsutils.o
    espruino/src/jsnative.o

    Is there any way to compile your Espruino project a standalone, BSP (board and hardware) independant library that I can use with a documented interface ?

About

Avatar for rm @rm started