Advanced Command Processor/Parser - basis for a compiler
* Perl style whitespace
support (whitespace
simply doesn't matter!)
* Unlimited number of
commands per line,
unlimited number of
arguments per command
* Commands are easy to
define using simple,
pre-designed select case
statements
* Great for anything that
needs to accept
structured input!
General syntax: Command(Argu,ment,s); Arguments can include backslash escape characters. All whitespace is stripped unless arguments are enclosed in quotes. The engine processed over 300 commands in 6 seconds on my 200Mhz machine. This would work wonders for a multi-player game,
AOL/AIM "proggie", or even as a data format. Enjoy! Please vote if you think it deserves it. Happy Holidays and support PSC!
Original Author: Jameson Schriber
Inputs
see code
Returns
see code
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 223 times
Categories
Attachments
CODE_UPLOAD122941232000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 9,727 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.