tag:blogger.com,1999:blog-8513438391157777465.post2481014848939488496..comments2023-04-07T05:56:45.278-07:00Comments on Re: Factor: Typed Netstringsmrjbq7http://www.blogger.com/profile/06842721076008035602noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8513438391157777465.post-73395581375758901592011-05-06T11:32:09.891-07:002011-05-06T11:32:09.891-07:00Hi Justin!
I think you're right on both count...Hi Justin!<br /><br />I think you're right on both counts. On the first, the remain would be empty (not false), so the check should be "when-empty".<br /><br />Best,<br />John.mrjbq7https://www.blogger.com/profile/06842721076008035602noreply@blogger.comtag:blogger.com,1999:blog-8513438391157777465.post-33156740882650041922011-05-06T09:25:48.073-07:002011-05-06T09:25:48.073-07:00Hi John,
Very new to Factor and really enjoying y...Hi John,<br /><br />Very new to Factor and really enjoying your blog.<br /><br />Reading through this code, shouldn't<br /><br />dup [ "Unbalanced dictionary store" throw ] unless<br /><br />be<br /><br />dup empty? [ "Unbalanced dictionary store" throw ] when<br /><br />in parse-pair? Also, it seems the null check which follows immediately afterwards would only be relevant in the version of the parser extended to support nulls.Justin Giancolahttps://www.blogger.com/profile/02194255358907893850noreply@blogger.com