Author Archives: James McParlane

Unknown's avatar

About James McParlane

CTO Massive Interactive. Ex Computer Whiz Kid - Now Grumpy Old Guru.

US Election 2004

The ultimate results of the US elections have such a large, far reaching and disproportionate effect on the rest of the world. Obviously far far too important to leave the voting up to, Americans.

Posted in Rants | Leave a comment

Chocks Away

Gastro again. Ralph and Huey get one ceremony closer to obtaining shiny new souls.

Posted in Downtime | Leave a comment

Shared Infrustrature for W3 Specification Parsing – Part I

I have defined a new module for MetaWrap which consists of 4 Logical groups of classes. MwParser, MwParserBNF* and MwParserCST and MwParserAST. All the new W3 Specs seem to be heading towards shared definitions using BNF. (eh XQuery, XPath2.0 and XSLT2.0) . … Continue reading

Posted in Parsing Theory, XPath | Leave a comment

Some thoughts about parsing, protocols and XPath

Parsing And Protocols There are really two types of information packing in protocols and grammars and these boil down to data being length or lexically delimited. A parser implements a certain grammar. The grammar parses a certain pattern of tokens … Continue reading

Posted in Parsing Theory, XPath | 2 Comments

Embedding semantic actions into syntax rules

I’m hunting for terms to use in my own algorithm for a combined lexer and parsing engine. Got my algorithm documented now in my handy dandy notebook that I have scribbling in for the last week on the train and … Continue reading

Posted in Parsing Theory, XPath | Leave a comment

The Spectre Of Gastro

Little one was up all-night throwing up.. went through every change of sheets, towel and PJ’s in house. For the rest of us – the timebomb is ticking 😦

Posted in Meta-Narrative | Leave a comment

Grammar Visualiser

Mastered dot and the fine art of creating pretty digraphs. Developed example script which produces a nice image that will aid in the visualisations of grammar tables. Now just need to make it build the dot script for a given grammar.

Posted in XPath | Leave a comment

One Line Unit Test

Added a nice macro to the metawrap testing framework that allows a simple unit test to be put in one line in C and  C++ with exception handling and failover reporting. void Tests_MwNativeString(){    #define MW_UNIT “MwNativeString“     MwNativeString l_string;    MW_UNIT_TEST_ASSERT(“Constructor1“,l_string.emptystring(),“Ensure that constructor starts with an … Continue reading

Posted in Uncategorized | Leave a comment

Things To Do…..

Continuous Integration *started* June 28th 2004  (Branched into W3 EBNF parser) Tidy Up Website and add Google Ads  *done*  July 9th 2004 Integrate Client Into Shell Design Client <-> Server Connection Semantics Contuinue Design Of Clustering Algorithm Get shell integrated … Continue reading

Posted in Things To Do | Leave a comment

Unix Signals And C++ Exceptions Living Together

“Signals and exceptions don’t mix well, and should be considered seperately. While you can define an exception-based “wrapper” for signals, such code is not portable, because C++ does not guarantee that a signal-handling function is able to interact with any … Continue reading

Posted in C#, Things To Do | Leave a comment