Porting LilyPond to WebAssembly, Introduction

This will be my logbook on my endeavor to port LilyPond to WebAssembly. I would like to use LilyPond as a dependency for another program/project, i already ported to WebAssembly.

I am planning to use the following approach:

  1. Try to compile LilyPond from source I am very sure this will not work right "out of the box", so i will try to
  2. identify all dependencies/libraries and try to build those, step by step.
  3. After all dependencies/libs needed are built for WebAssembly, back to step 1, hoping that now everything work.

Currently i have very little experience with WebAssemby, but I already successfully compiled some C/C++ programs using Emscripten.