News for hackers. Stuff that matters.
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.
Re:P Language by planguage on Friday January 06, 2023 @02:08PM (#34279327)
Re:P Language by thamer on Friday January 06, 2023 @06:37PM (#34282956)
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/