Re-using Calc formula evaluation engine & emscripten/webassembly port
markus.mohrhard at googlemail.com
Mon Oct 16 00:27:16 UTC 2017
On Wed, Oct 11, 2017 at 11:30 AM, Alessandro Petrozzelli <
apetrozzelli at gmail.com> wrote:
> just registered here.
> I'm wondering if it is technically feasible to re-use the formula
> engine behind the spreadsheet as a standalone component (1) and if it would
> possible to use emscripten to target a webassembly binary (2).
(1) is not possible. Our formula engine is tightly coupled with the rest of
the spreadsheet code. Additionally it is not the cleanest code and has to
deal with many problems that are unique to LibreOffice. Kohei (one of the
experienced Calc developers) has been working in his free time on a clean
new implementation called ixion (https://gitlab.com/ixion/
ixion/blob/master/README.md) that has a more modern design. As long as you
only need the few features that the current code already provides this
might be a place to look for inspiration.
> The obvious reason is to be able to build a spreadsheet web component
> powered by a mature calculation engine.
(2) is currently not possible. I think CIB tried this but as far as I know
no current work is done in this direction. You can read a bit about the
work at https://wiki.documentfoundation.org/Development/Emscripten
> Any opinion, comment, info or link would be appreciated.
> Alessandro Petrozzelli
> Sent from: http://nabble.documentfoundation.org/Dev-f1639786.html
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice