Re:XS7 – A compact JavaScript engine for embedded applications
by megous on Saturday April 21, 2018 @01:51AM
(#16890163)
Is there some documentation on how to run code from a string in C. I guess I can setup a getter for a buffer and then call fxParseScript? Is that all?
[ Parent
| on HN ]
Re:XS7 – A compact JavaScript engine for embedded applications
by phoddie on Saturday April 21, 2018 @10:23AM
(#16891519)
FWIW - we usually don't parse scripts on the MCU because that takes time and memory. Instead, we compile on the development machine using xsc and link using xsl. This leaves more memory free for scripts to use for data, and allows scripts to start running almost instantly.