Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Webinar – Developing Windows 8 Metro Applications with Embarcadero Prism

AddThis Social Bookmark Button
Embarcadero is organizing a webinar on the topic Developing Windows 8 Metro Applications with Embarcadero Prism on May 29, 2012 from 6.00 AM PDT. The Webinar – Developing Windows 8 Metro Applications with Embarcadero Prism will be presented by Jim McKeeth. In this session, you will learn how to use the latest features in Embarcadero [...]

Recursive descent parser using active patterns

AddThis Social Bookmark Button
Today's post isn't specifically about games, but about parsing, which I find is a recurring task in many programming tasks.

In F#, the most popular methods for writing parsers are FParsec and fslex/fsyacc. Although parser generators are very useful, I'm always a bit reluctant to depend on third-party software.

In the past I have worked on a development tool for safety-critical systems, which was itself subject to some of the limitations of software for safety-critical systems. In particular, the use of lex and yacc was not accepted.

I fell back on a technique suitable for hand-written parsers,
namely recursive descent parsers. I was positively surprised by the inherent simplicity of the method and the clarity of code that resulted.

I was first exposed to the idea of using active patterns for parsing when I read a blog post by Jon Harrop.
Active patterns is a feature specific to F#, and the F# wikibook has a chapter dedicated to them. I'll be using parameterized partial active patterns.

We start by defining a type for the input. The integer denotes the number of lines read so far, the list of strings is the...(Read whole news on source site)

Daily WP7 Development News 18 May 2012

AddThis Social Bookmark Button

24 Weeks of WP Metro Design | #6 Information Architecture for a Windows Phone App

AddThis Social Bookmark Button
source: ux.artu.tv This blog post might not make justice to the depth and expertise that the discipline of Information Architecture deservesbut I will make sure to add the right links to other websites that can take you much deeper into Information Architecture. Demystifying IA As deep as Information Architecture is however, it really is just a portion of a larger scope of activity called User Experience. Information Architecture is a means to an end. Information is not the user. The user is the user - a human. I've seen many websites or apps that sometimes
seem to be primarily designed to please information itself - as if information or content was THE user. Take the typical approach of defining the 'navigation menu' for a content driven website. ... ...(Read whole news on source site)

Home