View Single Post
  #6   Spotlight this post!  
Unread 30-06-2002, 12:06
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Re: emulationFIRST (aka PBasic emulator)

Quote:
Originally posted by Matt Leese


As far as architectural details go, it used bison (a general-purpose parser generator) and flex (a lexical analyzer) as well as C code. It makes use of only one non-ANSI C call (strcasecmp or _stricmp on Windows; does anyone know a good case insensitive string compare call?) so should compile easily on all platforms with minimal effort.

When writing my emulator, I ran into the same thing, so I just converted EVERYTHING to uppercase before doing any sort of work on it. PBASIC is case-insensitive anyway, and it seems to work just fine. Anyway, just my 2c.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php