How Big is Your LEG?
Being a bit discouraged by the amount of source code to wade through I started wondering if any of the existing targets were simpler than LEG thinking maybe one had been done as a skeleton or abandoned. Anyway, that was silly. SpaceSniffer shows that LEG’s target directory is the smallest by far at 244K. That’s still a bunch of source code but it’s half the size of the next smallest. There is something called cppbackend that could be worth a look sometime.