I'm in the computer business, I make Out-Of-Order signs.
Home
Articles
About
Home » Blog » 2009 » Sep » 30th

Writing a calculator in C# using SableCC

Writing a calculator is a simple task - just add nine buttons labeled 1-9 and add a plus and minus button and we're almost good to go. In this entry I'm going to write a calculator called SimpleCalc that does not have a GUI, instead it'll take in an arbitrary expression and calculate the results of it. The input I'll use as my immediate goal is the following:

Read the complete 26532 bytes...

Digg it | Kick it | Dzone it | Reddit


Sep 30th, 2009, 12:32 PM | Posted in .NET | 5 comments »

LinkedIn Twitter 

BLOG

.NET (82)
Active Directory (1)
AS/Flex/Flash (5)
Availability (5)
Books (2)
Conferences (17)
Hardware (1)
IIS 7 (11)
Internet (1)
Internet Explorer (3)
Las Vegas (26)
Life (13)
MSP (6)
Poker (17)
Scalability (6)
Security (7)
Server 2003 (7)
Software (7)
SQL Server (12)
Vista (7)
Visual Studio (1)
Win32 (17)


ARTICLES

.NET (1)


ARCHIVE

July 2010 (1)
June 2010 (3)
April 2010 (3)
March 2010 (1)
February 2010 (1)
December 2009 (2)
November 2009 (2)
October 2009 (4)
September 2009 (5)
August 2009 (2)
July 2009 (1)
May 2009 (2)
April 2009 (5)
March 2009 (4)
February 2009 (1)
January 2009 (1)
November 2008 (1)
October 2008 (2)
September 2008 (1)
August 2008 (5)
June 2008 (5)
May 2008 (3)
April 2008 (5)
March 2008 (8)
January 2008 (1)
November 2007 (2)
October 2007 (3)
September 2007 (2)
June 2007 (2)
April 2007 (14)
March 2007 (3)
February 2007 (3)
January 2007 (6)
December 2006 (12)
November 2006 (16)
October 2006 (4)
August 2006 (10)
July 2006 (10)
Copyright © 2010 Mark S. Rasmussen | valid XHTML, CSS