4 ms·
One use case for this could be dumping generated algorithms from sympy. I was doing some constraint programming and ended up almost writing something very simi
by radarsat1 8y ago
One use case for this could be dumping generated algorithms from sympy. I was doing some constraint programming and ended up almost writing something very similar albeit poorly and ad-hoc, by generating .c files that I #included into other .c files, it was very messy. The use case was to write some mathematical relations and generate C functions to calculate their differentials. It was a lot of manual copy-pasting until I came up with the #include trick, but this would have been better.