Ask HN: Can you compile laws?
Should we(HN community) make a compiler that can both analyze logical errors and compact laws?
I think Washington is a bit code-bloated, and it would probably be better if it was more nimble.
Thoughts?
Should we(HN community) make a compiler that can both analyze logical errors and compact laws?
I think Washington is a bit code-bloated, and it would probably be better if it was more nimble.
Thoughts?
Advancements of machine learning, applications of Bayesian networks can produce programs with outputs similar to applications of laws. Laws themselves - by their nature - have to have an abstract element in them and a degree of generality, which makes them similar to computer code. It is those other features of laws which represent difficulties - from a programmer standpoint - which are left to be modeled with enough accuracy to be useful.
https://en.wikipedia.org/wiki/Rule-based_system
For some laws, it should be possible to detect flaws or inconsistencies.
https://scholar.google.com.ar/scholar?safe=off&es_sm=122&bav...
http://ed.fbk.eu/people/sisai/home/publications_files/pdf/cl...