Hacker News new | ask | show | jobs
by MIA_Alive 612 days ago
I'm literally using ASP and Clingo to do logic programming for school. And you're telling it became relevant to you in your work??
1 comments

I use ASP at work! I used it as the core of a powerful code generator: I modeled the type system I wanted to implement, some base operations and derivation rules, and had it synthesize implementations for every possible operator between every possible pair of types. I run clasp and it dumps out thousands of lines of C# implementing a simple symbolic matrix linear algebra library. It's one of the most beautiful things I've made, imo.