A C++ implementation of MarkovJunior based on StormKit
Configure xmake project and setup LLVM development kit. I suppose it can work with LLVM v19 but I recommend using v20 at least. Developement is currently done using v21.
While developement is continuously made on macos using the --HEAD version of homebrew package llvm, compilation is also sometimes tested for linux using the AUR package llvm-git.
Maybe it works with your default compiler toolchain, I can't guarantee anything but it's a good opportunity to open an issue !
On macos, this should look like this
xmake f --toolchain=llvm --sdk=/usr/local/opt/llvm --runtimes=c++_sharedOn linux, this should look like this
xmake f --toolchain=llvm --sdk=/opt/llvm-git --runtimes=c++_sharedThen, build and run
xmake
xmake runYou can provide a path to an xml model as argument, otherwise default is the one currently used as test case for development.
xmake run hroza models/GoToGradient.xml