<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5440057</id><updated>2011-04-22T03:13:24.207+02:00</updated><title type='text'>LepEx</title><subtitle type='html'>Computational Experiments by leppie</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://leppie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5440057.post-107482027847731712</id><published>2004-01-23T03:11:00.000+02:00</published><updated>2004-01-23T03:12:46.950+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Recusive properties&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;Look close!&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;public int CurrentLine&lt;br /&gt;{&lt;br /&gt;  get&lt;br /&gt;  {&lt;br /&gt;    return GetLineFromIndex(caretindex);&lt;br /&gt;  }&lt;br /&gt;  set&lt;br /&gt;  {&lt;br /&gt;    if (value &lt; 0)&lt;br /&gt;    {&lt;br /&gt;      CurrentLine = 0;&lt;br /&gt;    }&lt;br /&gt;    else if (value &lt; Count)&lt;br /&gt;    {&lt;br /&gt;      int ci = LineColumnIndex;&lt;br /&gt;      CaretIndex = GetCaretIndexFromLine(value);&lt;br /&gt;      LineColumnIndex = ci;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;      CurrentLine = Count - 1;&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-107482027847731712?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107482027847731712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107482027847731712'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2004_01_01_archive.html#107482027847731712' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-107127703305168016</id><published>2003-12-13T02:57:00.000+02:00</published><updated>2003-12-13T02:58:00.310+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Top secret Sneak preview&lt;/h4&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/XaccEditor2.png" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-107127703305168016?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107127703305168016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107127703305168016'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_12_01_archive.html#107127703305168016' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-107020155298294476</id><published>2003-11-30T16:12:00.000+02:00</published><updated>2003-11-30T16:13:08.576+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;A glimpse of things to come&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;I normally dont do UI's but this came to mind. A decent code highlighter, with dynamic lexer/parser input and many goodies normally found in commercial IDE's.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/PortableStudio.png" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-107020155298294476?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107020155298294476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107020155298294476'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_11_01_archive.html#107020155298294476' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-107006515873067866</id><published>2003-11-29T02:19:00.000+02:00</published><updated>2003-11-29T02:21:43.890+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Abusing C#&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;int c = file.ReadByte();&lt;br /&gt;switch (c)&lt;br /&gt;{&lt;br /&gt;	case -1:&lt;br /&gt;		Console.WriteLine("EOF");&lt;br /&gt;		break;&lt;br /&gt;	case '\n':&lt;br /&gt;		curline++;&lt;br /&gt;		curcol = 1;&lt;br /&gt;		goto case -2;&lt;br /&gt;	case -2: // i will be shot&lt;br /&gt;		feed.Append((char) c);&lt;br /&gt;		break;&lt;br /&gt;	default:&lt;br /&gt;		curcol++;&lt;br /&gt;		goto case -2;&lt;br /&gt;}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-107006515873067866?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107006515873067866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/107006515873067866'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_11_01_archive.html#107006515873067866' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106944684540253031</id><published>2003-11-21T22:34:00.000+02:00</published><updated>2003-11-21T22:34:32.110+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Hooray, it's holiday&lt;/h4&gt;&lt;br /&gt;Now its time to enjoy those things you never have time for. I love pretty code.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/prettycode.gif" width="714" height="493" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106944684540253031?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106944684540253031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106944684540253031'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_11_01_archive.html#106944684540253031' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106716789186674986</id><published>2003-10-26T13:31:00.000+02:00</published><updated>2003-10-26T13:31:31.270+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Monthly Lobster awards&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;I have decided to make a monthly award for certain developers that can be described as lobsters (think Zoidberg right about now).&lt;br /&gt;&lt;br /&gt;Seeing this is the 1st ceremony I have decided to name a few to get things going.&lt;br /&gt;&lt;br /&gt;1. Lutz Roeder - does his email even work? does he even read feedback? Not much I guess! And the time I did get a response, he put all the ideas down... see Reflector for a more painfull experience.&lt;br /&gt;&lt;br /&gt;2. Werner "I cant say much, I'm under a NDA" Moise - well, well, well, your news is mostly old. You keep argueing without checking your facts. And it is not grammatically correct to start every sentence with 'I'. And repeating your self consistantly makes you look like an idiot. All of us can read.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106716789186674986?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106716789186674986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106716789186674986'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_10_01_archive.html#106716789186674986' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106716685421437617</id><published>2003-10-26T13:14:00.000+02:00</published><updated>2003-10-26T13:14:36.516+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Gay C# error messages&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;Overloaded shift operator must have the type of the first operand be the containing type, and the type of the second operand must be int.&lt;br /&gt;&lt;br /&gt;Enough said...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106716685421437617?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106716685421437617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106716685421437617'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_10_01_archive.html#106716685421437617' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106608134592608091</id><published>2003-10-13T23:42:00.000+02:00</published><updated>2003-10-13T23:42:25.670+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Slow times&lt;/h4&gt;&lt;br /&gt;I have started a new personal project called Xacc. More info can be found at &lt;a href="http://xacc.sourceforge.net" target="_blank"&gt;xacc.sourceforge.net&lt;/a&gt;. Comments welcome.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106608134592608091?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106608134592608091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106608134592608091'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_10_01_archive.html#106608134592608091' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106226292723968486</id><published>2003-08-30T19:02:00.000+02:00</published><updated>2003-08-30T19:02:07.100+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;GCC beats MS VC7.1 pants off&lt;/h4&gt;&lt;br /&gt;I have just finished the lexer/parser part of my project due on Monday. I thought some benchmarking would be nice. What I didnt realize was the advantage GCC has over VC in a C environment. The implementation only makes use of some of the core CRT libraries.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/gcc-1-vc7-0.gif" width="469" height="389" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106226292723968486?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106226292723968486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106226292723968486'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_08_01_archive.html#106226292723968486' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106193180831499211</id><published>2003-08-26T23:03:00.000+02:00</published><updated>2003-08-26T23:03:28.263+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;My latest invention/contraption/experiment&lt;/h4&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/lepex.gif" width="659" height="403" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106193180831499211?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106193180831499211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106193180831499211'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_08_01_archive.html#106193180831499211' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106175458109167458</id><published>2003-08-24T21:49:00.000+02:00</published><updated>2003-08-24T21:49:41.120+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;#dev 0.96 - TextEditor still junk&lt;/h4&gt;&lt;br /&gt;Compare this to what I would like to see (below) from a quality perspective. Also, it still takes the memory of a small country (60-80mb) , and I swear I saw the street lites dim when I loaded it.&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/0.96-ui-junk.png" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106175458109167458?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106175458109167458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106175458109167458'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_08_01_archive.html#106175458109167458' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106169698898497895</id><published>2003-08-24T05:49:00.000+02:00</published><updated>2003-08-24T05:49:48.890+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;When things go wrong...&lt;/h4&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/whenthingsgowrong.png" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106169698898497895?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106169698898497895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106169698898497895'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_08_01_archive.html#106169698898497895' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106165769101450891</id><published>2003-08-23T18:54:00.000+02:00</published><updated>2003-08-23T18:54:51.070+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Dont you love C compiler error messages?&lt;/h4&gt;&lt;br /&gt;Here's the Error OTD:&lt;br /&gt;&lt;pre&gt;error C2064: term does not evaluate to a function taking 26386312 arguments&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106165769101450891?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106165769101450891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106165769101450891'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_08_01_archive.html#106165769101450891' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106163537116234172</id><published>2003-08-23T12:42:00.000+02:00</published><updated>2003-08-23T12:42:51.080+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Lexical analysis speed&lt;/h4&gt;&lt;br /&gt;Tokens a second?&lt;br&gt;&lt;br /&gt;Lines a second?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Here is some performance specs for a toy Oberon language (given to us), consisting of 39 keywords and operators, 16-bit numbers, variable length variable names, and nested commenting. Test file is 2.4MB is size and is lexically correct.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Timer(Start) SCAN (context free)&lt;br /&gt;Timer(Stop ) 30294 ms   24353 tokens per second&lt;br /&gt;Lines per second: 6608 (200179 lines)&lt;br /&gt;Total tokens read: 737760&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;(on an AMD 1600+, 640mb PC133 RAM, statically linked, release mode)&lt;br /&gt;&lt;br /&gt;How can one measure the acceptability of ones implementation?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106163537116234172?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106163537116234172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106163537116234172'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_08_01_archive.html#106163537116234172' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-106163347532426304</id><published>2003-08-23T12:11:00.000+02:00</published><updated>2003-08-23T12:11:15.350+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Here comes C&lt;/h4&gt;&lt;br /&gt;OK. I like C, but learning programming from an OO perspective has killed my ability to write effective C code. O well, easy come, easy go.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-106163347532426304?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106163347532426304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/106163347532426304'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_08_01_archive.html#106163347532426304' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105941821062640844</id><published>2003-07-28T20:50:00.000+02:00</published><updated>2003-07-28T20:50:10.670+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Lame C# compiler error of the day&lt;/h4&gt;&lt;br /&gt;Compiler Error CS0553'conversion routine' : user defined conversion to/from base class&lt;br /&gt;User-defined conversions to values of a base class are not allowed; &lt;b&gt;you do not need such an operator&lt;/b&gt;.&lt;br /&gt;The following sample generates CS0553:&lt;br /&gt;&lt;pre&gt;// CS0553.cs&lt;br /&gt;namespace x&lt;br /&gt;{&lt;br /&gt;   public class ii&lt;br /&gt;   {&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public class a : ii&lt;br /&gt;   {&lt;br /&gt;      // delete the conversion routine to resolve CS0553&lt;br /&gt;      public static implicit operator ii(a aa) // CS0553&lt;br /&gt;      {&lt;br /&gt;         return new ii();&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;      public static void Main()&lt;br /&gt;      {&lt;br /&gt;      }&lt;br /&gt;   }&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;But now I need one, what now?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105941821062640844?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105941821062640844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105941821062640844'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105941821062640844' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105941590309173773</id><published>2003-07-28T20:11:00.000+02:00</published><updated>2003-07-28T20:11:43.143+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Problem solved. Solution: RTFM&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;From MSDN (dope):&lt;br /&gt;&lt;br /&gt;Use IsNaN to determine whether a value is not a number. It is not possible to determine whether a value is not a number by comparing it to another value equal to NaN.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105941590309173773?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105941590309173773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105941590309173773'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105941590309173773' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105922993068705416</id><published>2003-07-26T16:32:00.000+02:00</published><updated>2003-07-26T16:32:10.723+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;OK, can someone please explain to me the meaning of this?&lt;/h4&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/riddlemethis.gif" width="518" height="285" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105922993068705416?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105922993068705416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105922993068705416'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105922993068705416' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105891165329537074</id><published>2003-07-23T00:07:00.000+02:00</published><updated>2003-07-23T22:14:47.766+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Something new&lt;/h4&gt;&lt;br /&gt;Hmm, I really need to stick to one thing, but I just had an inspiration today. Nice feeling when you get 600+ productive lines of code in an afternoon/evening. The following image (GDI+) is rendered from the following code:&lt;br /&gt;&lt;pre&gt;Variable x = "x";&lt;br /&gt;Function f = new Function(x, ((x-2)^2) - 2*x);&lt;br /&gt;Function g = new Function(x, (2/x+(3^x)));&lt;br /&gt;Function h = new Function(x, (((x)/3)^3) + ((x/2)^2));&lt;br /&gt;Function i = new Function(x, x);&lt;br /&gt;Function j = new Function(x, -x);&lt;br /&gt;Function k = new Function(x, 3 * new UserExpression(x/2, typeof(Math),"Sin"));&lt;br /&gt;Function l = new Function(x, 2 * new UserExpression(0.5/x, typeof(Math),"Cos"));&lt;br /&gt;Function m = new Function(x, (new UserExpression(x, typeof(Math),"Exp") - 6)/2);&lt;/pre&gt;&lt;br /&gt;All these functions gets added to a Graph object that handle the drawing for a GraphControl, all with designer support and no flickering. Colors are assigned using a hash thingamagik. &lt;br /&gt;&lt;pre&gt;int hash = f.GetHashCode();&lt;br /&gt;gp.Color = Color.FromArgb(hash*61%256,hash*37%256,hash*53%256);&lt;/pre&gt;&lt;br /&gt;I dont know much of hashing, but with a bit of trial and error this seems to create the best variations.&lt;br /&gt;&lt;img src="http://www.capeblend.co.za/graph.gif"&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105891165329537074?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105891165329537074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105891165329537074'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105891165329537074' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105734864191571732</id><published>2003-07-04T21:57:00.000+02:00</published><updated>2003-07-04T21:57:21.986+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Hide and Seek champion fails at 13 months&lt;/h4&gt;&lt;br /&gt;Ah well, look what I found today. I little "hidden" button in the text editor. At first I thought it was a graphical glitch as VS.NET has started looking all misaligned since I have turned on ClearType font smoothing. This something I have been looking for a year. Well here it is!&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;img src="http://users.ataris.co.za/leppie/missingbutton.gif" width="140" height="264" alt="" border="0"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105734864191571732?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105734864191571732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105734864191571732'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105734864191571732' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105725685976212140</id><published>2003-07-03T20:27:00.000+02:00</published><updated>2003-07-04T22:12:48.693+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Be thankful you dont live in a 3rd world country&lt;/h4&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;img src="http://users.ataris.co.za/leppie/uunet_employee.gif" width="216" height="220" alt="" border="0"&gt;&lt;/div&gt;&lt;br /&gt;This is what us lucky ones has to bare with. Obviously this clown has not even attempted Networking 101 else he would know the difference between bandwidth and latency (did I mention I have ISDN, so pings of 30ms are expected). Here follows the "conversation":&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;hello,&lt;br /&gt;&lt;br /&gt;Please be informed that by the nature of your &lt;font color="#FF0000"&gt;querie&lt;/font&gt; this seems to be a&lt;br /&gt;dialup issue.I therefore regret to inform you that there is no&lt;br /&gt;guaranteed &lt;font color="#FF0000"&gt;bandwith&lt;/font&gt; for dialup.The network seems to be busy and therefore&lt;br /&gt;you are &lt;font color="#FF0000"&gt;experiancing&lt;/font&gt; latency.I have &lt;font color="#008000"&gt;check&lt;/font&gt; with our network operations&lt;br /&gt;centre and they have confirmed this.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Wayne D'sa&lt;br /&gt;&lt;br /&gt;Customer Service Centre&lt;br /&gt;&lt;br /&gt;UUNET SA&lt;br /&gt;&lt;br /&gt;08600 UUNET (0860088638)&lt;br /&gt;&lt;br /&gt;Email :support@uunet.co.za&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;&lt;br /&gt;-----Original Message-----&lt;br /&gt;From: leppie&lt;br /&gt;Sent: Wednesday, July 02, 2003 10:27 PM&lt;br /&gt;To: support@ataris.co.za&lt;br /&gt;Subject: Very high latency&lt;br /&gt;&lt;br /&gt;Hi Support&lt;br /&gt;&lt;br /&gt;|------------------------------------------------------------------------------------------|&lt;br /&gt;|                       Host              -   %  | Sent | Recv | Best | Avrg | Wrst | Last |&lt;br /&gt;|------------------------------------------------|------|------|------|------|------|------|&lt;br /&gt;|                             192.168.0.1 -   90 | 1002 |  109 |    0 |     0|   10 |    0 |&lt;br /&gt;|                 lo1.nas1.cpt1.alter.net -    1 | 1002 |  999 |   30 |  221 |  741 |  220 |&lt;br /&gt;|                 e1-0.dr2.cpt1.alter.net -    8 | 1001 |  929 |   30 |  213 |  651 |  200 |&lt;br /&gt;|                vlan9.hr1.cpt1.alter.net -    8 | 1001 |  927 |   30 |  212 |  601 |  190 |&lt;br /&gt;|                rl1.phantom.ataris.co.za -    6 | 1001 |  942 |   30 |  216 |  681 |  170 |&lt;br /&gt;|________________________________________________|______|______|______|______|______|______|&lt;br /&gt;&lt;br /&gt;I think that tells the story. What is going on with the lines?&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;leppie&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105725685976212140?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105725685976212140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105725685976212140'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105725685976212140' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105725508935933892</id><published>2003-07-03T19:58:00.000+02:00</published><updated>2003-07-23T22:07:44.280+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Nothin to see here! Move along people!&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://users.ataris.co.za/leppie/screenshot2.png" alt="" border="0"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105725508935933892?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105725508935933892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105725508935933892'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105725508935933892' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105703312281210846</id><published>2003-07-01T06:18:00.000+02:00</published><updated>2003-07-01T06:18:42.866+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Major Tip of the Day&lt;/h4&gt;&lt;br /&gt;This will help you manage all those brushes and pens you so relentlessly create withou disposing of them correctly. YES YOU!!!&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;public class GDIBuffer&lt;br /&gt;{&lt;br /&gt;  static Hashtable pens = new Hashtable();&lt;br /&gt;  static Hashtable brushes = new Hashtable();&lt;br /&gt;&lt;br /&gt;  public static Brush GetBrush(Color color)&lt;br /&gt;  {&lt;br /&gt;    if (!brushes.Contains(color))&lt;br /&gt;        brushes.Add(color, new SolidBrush(color));&lt;br /&gt;    return brushes[color] as Brush;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public static Pen GetPen(Color color)&lt;br /&gt;  {&lt;br /&gt;    if (!pens.Contains(color))&lt;br /&gt;      pens.Add(color, new Pen(color));&lt;br /&gt;    return pens[color] as Pen;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public static Pen GetPen(Brush brush)&lt;br /&gt;  {&lt;br /&gt;    if (!pens.Contains(brush))&lt;br /&gt;      pens.Add( brush, new Pen(brush));&lt;br /&gt;    return pens[brush] as Pen;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public static Pen GetPen(Brush brush, int width)&lt;br /&gt;  {&lt;br /&gt;    Tuple t = new Tuple();&lt;br /&gt;    t.left = brush;&lt;br /&gt;    t.right = width;&lt;br /&gt;&lt;br /&gt;    if (!pens.Contains(t))&lt;br /&gt;      pens.Add( t, new Pen(brush, width));&lt;br /&gt;    return pens[t] as Pen;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  struct Tuple&lt;br /&gt;  {&lt;br /&gt;    public object left;&lt;br /&gt;    public object right;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105703312281210846?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105703312281210846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105703312281210846'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_07_01_archive.html#105703312281210846' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105501640932325980</id><published>2003-06-07T22:06:00.000+02:00</published><updated>2003-06-07T22:06:49.393+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;IT'S ALIVE!&lt;/h4&gt;&lt;br /&gt;After running thru endless trace logs today, the parsing engine is working 100%. A simple C# file of 175 lines makes a trace log of almost 27 000 lines. Luckily the Total Commanders Lister viewer is lightning fast and makes finding something visually a painless experience. Next up, I'll add some profiling code, to assist in EBNF source file creation. I'm still wondering whether to make a AST or FileMap. Anyways, back to work!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105501640932325980?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105501640932325980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105501640932325980'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_06_01_archive.html#105501640932325980' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105495832094475610</id><published>2003-06-07T05:58:00.000+02:00</published><updated>2003-06-07T06:12:21.096+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Success!&lt;/h4&gt;&lt;br /&gt;The parser and logic engine has now been completed in both AsmL and C#.  I currently test this to C# definition file I have managed to put together. Currently the AsmL code is only 270 lines and the C# code around 550 lines including some comments. Next step is to build either a "syntax" tree or a file map, but I am still a bit skeptical which one to use. I have even though of XML as a possiblity, perhaps a DataSet?  We will have to wait and see, I first have run some more tests.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105495832094475610?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105495832094475610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105495832094475610'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_06_01_archive.html#105495832094475610' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105478407764515451</id><published>2003-06-05T05:34:00.000+02:00</published><updated>2003-06-05T05:49:42.503+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;Parser Update&lt;/h4&gt;&lt;br /&gt;I have been fooling myself in a sense. I was reinventing the wheel.  But is this so bad when the wheel is in fact a simplification of RegEx. When I started doing this 2 weeks ago, I could barely write a line of RegEx. Now suddenly, I have learnt a simplification of Regex without touching RegEx and it now makes sense to me. Almost like the Neo oke from the Matrix. Even things that I never understood like DTD and XSL, suddenly made sense too. All to crown this all, I wrote 2 exams today as well.&lt;br /&gt;&lt;br /&gt;Anyways, I have now decided after playing a bit more with AsmL to build a simple RegEx framework for AsmL. A parser should be a natural following to that; isnt that what RegEx is good for? LepEx seems an appropiate name for this too :) &lt;br /&gt;&lt;br /&gt;Here is a little snippet:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;b&gt;structure&lt;/b&gt; Group &lt;b&gt;extends&lt;/b&gt; Machine&lt;br /&gt;  &lt;b&gt;case&lt;/b&gt; Repeater&lt;br /&gt;    count &lt;b&gt;as&lt;/b&gt; Integer = 0&lt;br /&gt;  &lt;b&gt;case&lt;/b&gt; Optional&lt;br /&gt;    actual &lt;b&gt;as&lt;/b&gt; Boolean = &lt;b&gt;false&lt;/b&gt;&lt;br /&gt;  &lt;b&gt;case&lt;/b&gt; Iterator&lt;br /&gt;    count &lt;b&gt;as&lt;/b&gt; Integer = 0&lt;br /&gt;&lt;br /&gt;  inner &lt;b&gt;as&lt;/b&gt; Machines&lt;br /&gt;  grouptype &lt;b&gt;as&lt;/b&gt; GroupType = And&lt;br /&gt;&lt;br /&gt;  GroupFormat() &lt;b&gt;as&lt;/b&gt; (Format, Format)&lt;br /&gt;    &lt;b&gt;match&lt;/b&gt; &lt;b&gt;me&lt;/b&gt;&lt;br /&gt;      Repeater: &lt;b&gt;return&lt;/b&gt; (LRep, RRep)&lt;br /&gt;      Optional: &lt;b&gt;return&lt;/b&gt; (LOpt, ROpt)&lt;br /&gt;      Group   : &lt;b&gt;return&lt;/b&gt; (LGrp, RGrp)&lt;br /&gt;&lt;br /&gt;  SepFormat() &lt;b&gt;as&lt;/b&gt; Format&lt;br /&gt;    &lt;b&gt;match&lt;/b&gt; grouptype&lt;br /&gt;      And: &lt;b&gt;return&lt;/b&gt; AndL&lt;br /&gt;      Or:  &lt;b&gt;return&lt;/b&gt; OrL&lt;br /&gt;      Not: &lt;b&gt;return&lt;/b&gt; NotL&lt;br /&gt;&lt;br /&gt;  &lt;b&gt;override&lt;/b&gt; ToFormat() &lt;b&gt;as&lt;/b&gt; Format&lt;br /&gt;    (l,r) = GroupFormat()&lt;br /&gt;    &lt;b&gt;return&lt;/b&gt; Format.List(l, SepFormat(), r, [ToFormat(i) | i &lt;b&gt;in&lt;/b&gt; inner])&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105478407764515451?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105478407764515451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105478407764515451'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_06_01_archive.html#105478407764515451' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105446564071069800</id><published>2003-06-01T13:07:00.000+02:00</published><updated>2003-06-01T13:07:20.763+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;AsmL update&lt;/h4&gt;&lt;br /&gt;I have managed to rewrite to logic engine in AsmL and reduced it size from roughly 1000 lines to about 100 in AsmL. Also, much less code generation is needed. Currently, I'm trying to a simplifying algorhytm to get rid of unneccesary grouping constructs. As the syntax of AsmL is still a bit new to me, I have tried doing this in C# rather. Again the AsmL solution is much simpler, but I am have some problems assigning the final bit. C# has proved to long in the tooth with endless casting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105446564071069800?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105446564071069800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105446564071069800'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_06_01_archive.html#105446564071069800' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105439993917963282</id><published>2003-05-31T18:52:00.000+02:00</published><updated>2003-06-01T13:08:25.510+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;TIP of the day&lt;/h4&gt;&lt;br /&gt;Never, ever, ever mess around with things when you dont know the outcome. Today, I messed around with .NET security permission. Needless to say, it screwed up .NET to such an extent that it could not even be repaired. An uninstall/reinstall was required, but that luckily does not take too long.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105439993917963282?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105439993917963282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105439993917963282'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_05_01_archive.html#105439993917963282' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5440057.post-105433876562086311</id><published>2003-05-31T01:52:00.000+02:00</published><updated>2003-06-01T13:08:46.280+02:00</updated><title type='text'></title><content type='html'>&lt;h4&gt;First Post&lt;/h4&gt;&lt;br /&gt;A week ago work was started on a parser generator for .NET .  A week later, and I'm back to the drawing boards. This time I looking at a newly found language called AsmL. Abstract State Machine Language.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5440057-105433876562086311?l=leppie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105433876562086311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5440057/posts/default/105433876562086311'/><link rel='alternate' type='text/html' href='http://leppie.blogspot.com/2003_05_01_archive.html#105433876562086311' title=''/><author><name>leppie</name><uri>http://www.blogger.com/profile/09114990746389859168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
