Phillip Trelford's blog articles

0
comment
on 3/31/2015 10:57 PM
Just before Christmas I came across some Java source code by “Uncle” Bob Martin aimed at “demystifying compilers” which expends about 600 lines of code to parse the following simple finite state machine: Actions: Turnstile FSM: OneCoinTurnstile Initial: Locked { Locked Coin Unlocked {alarmOff unlock} Locked Pass Locked alarmOn Unlocked Coin Unlocked thankyou Unlocked Pass Locked lock } For fun I knocked up a broadly equivalent parser in F# using FParsec which was just under 40 lines of code, and posted [...]
>> Read the full article
.
0
comment
on 3/30/2015 10:07 AM
In my last post I covered the top 100 .Net bloggers since 2008, based on links posted on Alvin Ashcraft's Morning Dew. This (intentionally) captured many bloggers that are no longer actively blogging, but equally still have interesting content to consume. For completeness here's the ranking for the years 2014 and 2015 (up to last Friday) which may better capture active .Net bloggers: Rank Name 2014  2015  Total 1 Sean Sexton 195 [...]
>> Read the full article
.
0
comment
on 3/9/2015 12:30 PM
Fun Basic is an extended clone of Microsoft’s Small Basic programming language that runs as an app in the Windows Store. The app provides a range of sample programs from simple turtle graphics through to video games and physics simulations. The samples have been selected from programs in the public domain created by the Small Basic community. Each sample is presented with it’s corresponding source code allowing you to edit the code and run the program. The concept is that you can learn elements of prog[...]
>> Read the full article
.
0
comment
on 1/21/2015 12:29 AM
Microsoft’s Small Basic is a simple programming language and environment aimed at beginners. It ships with an IDE for Windows, a commands line compiler and a small .Net library. Small Basic programs can also be run in the browser on Windows & Mac via SIlverlight. The shipped .Net library for Small Basic targets WPF for graphics which is unfortunately not supported on Mono, which means Small Basic apps will not run directly on Mac or Linux. To get Small Basic apps running from the command prompt on Mac a[...]
>> Read the full article
.
0
comment
on 1/20/2015 12:17 AM
Microsoft Small Basic ships with a custom IDE with syntax colouring and code completion but no debugger: There’s a good article by Nonki Takahashi on Microsoft Technet on How to debug Small Basic programs manually which boils down to: trace with TextWindow.WriteLine add conditional debug code with If debug Then … promote your app to full VB.Net Small Basic in Visual Studio Last year, for fun, I wrote a custom Small Basic compiler with some extensions like functions with parameters and tu[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper