Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Picat is my favorite new toolbox language (buttondown.email/hillelwayne)
53 points by Tomte on Oct 3, 2023 | hide | past | favorite | 4 comments


I was trying to make sense of the imperative part, and the documentation (http://retina.inf.ufsc.br/picat_guide) says:

> In order to handle assignments, Picat creates new variables at compile time. In the above example, at compile time, Picat creates a new variable, say X1, to hold the value of X after the assignment X:=X+1.


Haven't seen that name in a while! I took Compilers from Neng-Fa Zhou (one of the Picat authors) at Brooklyn College circa 2011, and he had us write compilers for his new language under development.


Cool, can this be used to find solutions of random equations? Like in Mathematica?


I guess it is more like brute-forcing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: