News for hackers. Stuff that matters.
Re:4B If Statements by paddy_m on Thursday December 28, 2023 @08:00AM (#38793052)
I read some text where a cheme was implemented such that numbers were `2 = 1+1`, `3 = 2+ 1`...
Re:4B If Statements by jcparkyn on Thursday December 28, 2023 @08:19AM (#38793173)
Re:4B If Statements by ta8903 on Thursday December 28, 2023 @10:41AM (#38794494)
>Succ Peano

...

Re:4B If Statements by remexre on Thursday December 28, 2023 @10:13PM (#38801417)
The standard joke about my university's grad-level programming languages course is that its formalization unit does a great job of identifying undergrads by discussing Peano naturals and Hoare logic in the same lecture...
Re:4B If Statements by jbboehr on Thursday December 28, 2023 @03:44PM (#38798352)
Perhaps Nock:

https://developers.urbit.org/reference/nock/definition

> The reader might wonder how an interpreter whose only arithmetic operation is increment can ever be practical.

> The short answer is that a Nock interpreter doesn't have to use the algorithm above. It just has to get the same result as the algorithm above.