3 0. You will need idris2 installed with this change that makes List.length
4 tail-recursive: https://github.com/idris-lang/Idris2/pull/2100
5 As of 2022-01-17, it is not merged.
7 You'll also need to install the idris2-dom package and its transitive
8 dependencies idris2-experimental, idris2-elab-util and idris2-sop.
9 Each package is available at https://github.com/stefan-hoeck/$package_name
11 1. Build the precompute executable:
12 idris2 --build s3d_precompute.ipkg
14 2. Generate the S3D.Polyhedra.Precomputed module:
15 build/exec/s3d_precompute > src/S3D/Polyhedra/Precomputed.idr
18 idris2 --cg javascript --build s3d.ipkg
20 4. Open Main.html in a web browser.
23 idris2 --build s3d_test.ipkg
26 The src directory is shared by all the *.ipkg files.