top | item 36818642

(no title)

froggychairs | 2 years ago

Im sure this is useful but these languages (proof langs, constraints, etc) are always so difficult to parse or read

Adoption for these systems might be higher if they had a more readable syntax (and bonus if they could transpile down to source code you can tweak)

Also maybe I missed it on mobile, but I would love examples of the syntax and examples of application usage on the first page. Maybe this is useful to me! Who knows? That information should be easy to find

discuss

order

aidos|2 years ago

I’ve played with minizinc in the past though we use scipopt now instead.

The minizinc code looks pretty reasonable to me though. Specify your variables as ranges. Specify your constraints as math equations. Tell it what you’re looking to maximise / minimise.

https://www.minizinc.org/doc-2.7.6/en/modelling.html#ex-cake...

mirekrusin|2 years ago

Yes exactly, we need typescript style solution to get best 80% of ocaml/haskell available to joes kind of thing.

yakshaving_jgt|2 years ago

Do you not find this idea somewhat embarrassing?

Why does everything need to look like JavaScript in order for Average Joe programmer to be able to read it?