Primordialis is made from scratch in C++, with some Lua for scripting. The graphics use OpenGL 3.3. I am planning to eventually do a native linux port, but I'm not sure about macOS.
I know some other people have been unsuccessful getting the windows version to run on macOS, so I'm not sure if it's possible at the moment.