<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Блокнотик Centaur’а</title>
  <link>https://yurikhan.dreamwidth.org/</link>
  <description>Блокнотик Centaur’а - Dreamwidth Studios</description>
  <lastBuildDate>Tue, 24 Jun 2014 12:19:22 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>yurikhan</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/15796844/1181104</url>
    <title>Блокнотик Centaur’а</title>
    <link>https://yurikhan.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://yurikhan.dreamwidth.org/60263.html</guid>
  <pubDate>Tue, 24 Jun 2014 12:19:22 GMT</pubDate>
  <title>О парсерах</title>
  <link>https://yurikhan.dreamwidth.org/60263.html</link>
  <description>&lt;p&gt;Есть ровно один канонический интерфейс парсера. На вход подаётся строка или поток символов, на выходе — одно из трёх:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;распарсенный объект и остаток входной строки;&lt;/li&gt;
&lt;li&gt;распарсенный объект и пустая строка, если ничего лишнего не осталось;&lt;/li&gt;
&lt;li&gt;объект ошибки с указанием места во входной строке.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Если вы парсер и ваш интерфейс не позволяет различить первые две ситуации, то эти лучи поноса — вашему разработчику.&lt;/p&gt;

&lt;p&gt;#ненависть #mongo #jsoncpp #wellknown&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=yurikhan&amp;ditemid=60263&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://yurikhan.dreamwidth.org/60263.html</comments>
  <category>mongo</category>
  <category>jsoncpp</category>
  <category>wellknown</category>
  <category>soft</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
