Re:P Language
by tmp60beb0ed on Friday January 06, 2023 @11:40AM
(#34276960)
Can someone provide a simple hello world example of a program in P? I searched the website. It provides definitions and ideas for many concepts. But not a single example.
[ Parent
| on HN ]
https://p-org.github.io/P/tutsoutline/
Simple Client Server example: https://p-org.github.io/P/tutorial/clientserver/
Not quite a hello world, but the Tutorials section in the left-side menu is actually a set of examples, each one an annotated program.
See for example the first one, a client/server application implementing bank withdrawals with safety and liveness properties: https://p-org.github.io/P/tutorial/clientserver/