This project is part of an app that allows mathematicians, designers, and artists interactive creation and control of Geometric Algebra (see, eg https://youtu.be/60z_hpEAtD8?si=xaNsMxiN4N10w8FG ) constructs. The immediate project supports the interactive creation and editing of geometric objects and operators on them as Swift code snippets, and compiling and dynamically linking the snippets into the running app. I’m thinking about a simple framework to support this based on the REPL building dynamically linked libraries in the package structure at runtime. Has anyone done something like this?
1 Like
Sounds cool, sort of inspired by live coding/hot reloading I guess? I’m working on hot reloading for a Swift framework at the moment, but not related to geometric algebra of course.
Yeah, I figure it won’t be too hard on MacOS, just write the code out to a file and fork a process to run clang and compile to a DLL, then open it. I’m still trying to find out if there’s some way to do it on an iPad.
1 Like