News for hackers. Stuff that matters.
Re:Domain expertise has always been the real moat by Dansvidania on Sunday May 31, 2026 @05:00AM (#48344114)
Can you give an example (even if contrived) of how that would have looked ? I’m very curious !
Re:Domain expertise has always been the real moat by derfurth on Sunday May 31, 2026 @06:07AM (#48344428)
I had the experts write markdown files that contained the rules looked somewhat like:

## 1A Rule name

Some prose explaining the rules liking to official documentation.

``` if municipality and inhabitants > 10000 then functionA else functionB ```

Then a trivial parser would extract the rules, the DSL was then handled by Lark[1]. So pretty simple, but it made collaborating with experts easier as simulated results would also output some markdown they could read.

1. https://lark-parser.readthedocs.io/en/stable/

Re:Domain expertise has always been the real moat by tardedmeme on Sunday May 31, 2026 @07:23AM (#48344856)
Sounds like "Literate Programming", where the code and comments are reversed: instead of everything being code except what's marked as a comment, everything is a comment except what's marked as code.
Re:Domain expertise has always been the real moat by BarkenBark on Sunday May 31, 2026 @06:14AM (#48344470)
I am also very interested!