Software development industry analysis by Larry O'Brien, the former editor of Software Development and Computer Language
Thursday, November 18, 2004

What would you do if you had more programmatic access to the Tablet PC TIP? Via [Incremental Blogger]

I think the general answer to this is that I want to be able to control the TIP via something awfully close to Backus-Naur Form. Here’s a classic example of how math equation input might be defined:

input    ::= ws expr ws eoi;
expr     ::= ws powterm [{ws '^' ws powterm}];
powterm  ::= ws factor [{ws ('*'|'/') ws factor}];
factor   ::= ws term [{ws ('+'|'-') ws term}];
term     ::= '(' ws expr ws ')' | '-' ws expr | number;
number   ::= {dgt} ['.' {dgt}] [('e'|'E') ['-'] {dgt}];
dgt      ::= '0'|'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9';
ws       ::= [{' '|'\t'|'\n'|'\r'}];

That’s really pretty darn comprehensible if you ask me.

Thursday, November 18, 2004 12:23:38 PM (Hawaiian Standard Time, UTC-10:00) |  Disqus link  | #
Search
About Larry...
Flickr photostream
Subscribe: RSS 2.0 Atom 1.0
Popular Articles
Programming Sabre with Java, C#, and XML
Genetic Programming in C#
15 Exercises To Know A Programming Language
Top 10 Things I've Learned About Computers From the Movies and Any Episode of "24"
Recently Published Articles
HI
KonaKoder
Categories
Archive
Admin Login
Sign In
Toolroll