Building a Simple Recursive Descent Parser

In this post, I present the start of a recursive descent parser that will parse the simple grammar that I presented previously in this series.  I’ll point out some key features of the code so that it is easy to see how the code works. This blog is inactive.New blog: EricWhite.com/blogBlog TOCThis post is one…

4

Table Markup in Open XML SpreadsheetML

Tables are a feature in Open XML spreadsheets that allow you to interact with data more like a database.  You can select a region and convert it to a table.  Most Excel aficionados are familiar with this feature.  It is very useful. This blog is inactive.New blog: EricWhite.com/blog Blog TOC  In a previous post, Using…

2

Writing and Hosting a Web Service in the SharePoint 2010 Demo Virtual Machine

Coding and hosting a WCF web service is a great way to experiment with Business Connectivity Services (BCS) and External Content Types (ECT). In the near future, I’m going to be writing about some of the BCS scenarios where you need to manually code the BCS model. When putting together many-to-many associations or one-to-many where…

6

Creating a Collection from Singletons and Collections using LINQ

A key operation when doing pure functional transformations is the process of creating complex hierarchies of objects.  We see this when transforming some data source (such as an Open XML WordprocessingML document) to a LINQ to XML tree, and we see this when writing a recursive descent parser.  The recursive descent parser for Excel formulas…

1

Recursive Descent Parser: A Simple Grammar

To learn how recursive descent parsers work, it is helpful to implement a very simple grammar, so for pedagogical purposes, I’ve defined a grammar for simple arithmetic expressions. The parser will construct a syntax tree from expressions that we can then examine as necessary. Just for fun, after implementing the parser, we will write a…

1

Exploring the BCS Metadata Schema

When developers are first getting started using BCS, they typically use SharePoint Designer (or perhaps Visual Studio 2010) to put together their BCS model.  Using either of those tools, it is pretty easy to discover an external data source, and follow the appropriate steps to connect BCS to the data source and create an external…

1

Great Video on JavaScript by Douglas Crockford

As a software engineer, it is necessary to stay abreast of relevant technologies.   Working with SharePoint exacerbates the problem – if you are going to be a competent SharePoint developer, you must be competent in a wide variety of technologies – C#, VB.NET, ASP.NET, JavaScript, Silverlight, XSLT, LINQ, etc. This blog is inactive.New blog: EricWhite.com/blogBlog…

0

Recursive Descent Parser using LINQ: The Augmented Backus-Naur Form Grammar

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blog A grammar is a device to define syntax for a language.  A grammar is made up of rules, sometimes called productions.  Each rule defines a symbol, when can then be further used in other rules.  Grammars are not hard to understand; most developers instinctively understand grammars when they…

0

Processing all Content Parts in an Open XML WordprocessingML Document

In Open XML WordprocessingML documents, there are five types of parts that can contain content such as paragraphs (with or without tracked revisions), tables, rows, cells, and any of a variety of content controls: This blog is inactive.New blog: EricWhite.com/blogBlog TOCMain document part Header parts (there can be more than one) Footer parts (there can…

1