Pantagruel: An Unambiguous, Undefined Program Specification Language
1–10 of 11 posts
Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#21: https://ebooks.adelaide.edu.au/r/rabelais/francois/r11g/book...
Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#3This involves a whole lot less ass-wiping[1] than I was expecting it to. 1: https://ebooks.adelaide.edu.au/r/rabelais/francois/r11g/book...
Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#4Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#5fib x ← fib x − 1 + fib x − 2
Why is that parsed to behave correctly like
fib x ← fib (x − 1) + fib (x − 2)
And not,
fib x ← fib( x − 1 + fib ( x − 2 ))
Or even this, though it wouldn't produce a sane program
fib x ← fib ( x ) − 1 + fib ( x ) − 2
Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#6Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#7I'm curious how the parsing must work because I can't unambiguously see how this line is parsed fib x ← fib x − 1 + fib x − 2 Why is that parsed to behave correctly like fib x ← fib (x − 1) + fib (x − 2) And not, fib x ← fib( x − 1 + fib ( x − 2 )) Or even this, though it wouldn't produce a sane program fib x ← fib ( x ) − 1 + fib ( x ) − 2
Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#8I'm curious how the parsing must work because I can't unambiguously see how this line is parsed fib x ← fib x − 1 + fib x − 2 Why is that parsed to behave correctly like fib x ← fib (x − 1) + fib (x − 2) And not, fib x ← fib( x − 1 + fib ( x − 2 )) Or even this, though it wouldn't produce a sane program fib x ← fib ( x ) − 1 + fib ( x ) − 2
Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#9And: I’m still attempting to understand copatterns, but this is quite reminescent of copatterns. That’s all I have.
Re: Pantagruel: An Unambiguous, Undefined Program Specification Language
#10This involves a whole lot less ass-wiping[1] than I was expecting it to. 1: https://ebooks.adelaide.edu.au/r/rabelais/francois/r11g/book...