<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Theoretical on Amit Agarwal Linux Blog</title>
    <link>/tags/theoretical/</link>
    <description>Recent content in Theoretical on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Wed, 15 Dec 2010 14:37:44 +0000</lastBuildDate>
    
	<atom:link href="/tags/theoretical/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Building a Finite State Machine Using DFA::Simple</title>
      <link>/2010/12/15/building-a-finite-state-machine-using-dfasimple/</link>
      <pubDate>Wed, 15 Dec 2010 14:37:44 +0000</pubDate>
      
      <guid>/2010/12/15/building-a-finite-state-machine-using-dfasimple/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;a href=&#34;http://www.perl.com/pub/2004/09/23/fsms.html&#34;&gt;http://www.perl.com/pub/2004/09/23/fsms.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Building a &lt;a class=&#34;zem_slink&#34; title=&#34;Finite-state machine&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Finite-state_machine&#34;&gt;Finite State Machine&lt;/a&gt; Using DFA::Simple By Bill Ruppert on September 23, 2004 12:00 AM I am converting some articles from &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft Word&#34; rel=&#34;homepage&#34; href=&#34;http://office.microsoft.com/en-us/word/&#34;&gt;MS Word&lt;/a&gt; to &lt;a class=&#34;zem_slink&#34; title=&#34;HTML&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/HTML&#34;&gt;HTML&lt;/a&gt; by hand. I often use bulleted outlines so I face a lot of work creating lists with nested sub-lists. It didn’t take opening and closing many&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;tags to realize I wanted to automate the task.
It’s very easy to use filters with my text editor and I’ve written several in &lt;a class=&#34;zem_slink&#34; title=&#34;Perl&#34; rel=&#34;homepage&#34; href=&#34;http://www.perl.org/&#34;&gt;Perl&lt;/a&gt; to speed up my HTML formatting. I decided to create a filter to handle this annoying chore. After a little thought I decided the logic involved was just tricky enough to use a finite state machine (FSM) to keep things straight.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
