Re: Question about pseudocode and <CODE BEGINS>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Dec 15, 2021, at 5:33 AM, Nick Hilliard <nick@xxxxxxxxxx> wrote:
> 
> Brian E Carpenter wrote on 13/12/2021 21:34:
>> Do people think it's a good or bad idea to label pseudocode
>> in an RFC with <CODE BEGINS>?
> 
> it seems unnecessary?  Pseudocode is aimed at humans rather than computers, so a friendly lead-in might be more accessible.
> 
> If there were a strict grammar defined for pseudocode, i.e. to the point that you could feed it into a parser and get useful output, then there would be an argument for a delimiter token.

I agree, it not necessary to have a delimiter token.  Just say something like:

   A suggested algorithm in pseudo code for <foo> is as follows:

in the document.   It is essentially just text.

Bob



Attachment: signature.asc
Description: Message signed with OpenPGP


[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Mhonarc]     [Fedora Users]

  Powered by Linux