
- Forum
- Testing
- Software Patterns
- command parsing pattern
command parsing pattern
This is a discussion on command parsing pattern within the Software Patterns forums, part of the Testing category; Hello, I want to write a "TCL" like command parser as shown below. cmd1 cmd11 cmd1 cmd11 cmd111 cmd1 cmd11 ...
-
08-02-2004, 05:23 PM #1WannaLeanOO Guest
command parsing pattern
Hello,
I want to write a "TCL" like command parser as shown below.
cmd1 cmd11
cmd1 cmd11 cmd111
cmd1 cmd11 cmd112 cmd1121
cmd1 cmd11 cmd113
cmd1 cmd12
cmd1 cmd13 cmd111
cmd2
cmd3
Is there any design pattern for this kind of problem?
Thanks in Advance
James.
-
08-03-2004, 08:16 AM #2David Postill Guest
Re: command parsing pattern
In article <6hyPc.375$191.48@newsread1.dllstx09.us.to.verio.net>, on Mon, 02 Aug 2004 17:23:14
-0400, WannaLeanOO <oo_newbie@invalidaddr.com> wrote:
| Hello,
|
| I want to write a "TCL" like command parser as shown below.
|
| cmd1 cmd11
| cmd1 cmd11 cmd111
| cmd1 cmd11 cmd112 cmd1121
| cmd1 cmd11 cmd113
|
| cmd1 cmd12
| cmd1 cmd13 cmd111
|
| cmd2
| cmd3
|
| Is there any design pattern for this kind of problem?
Interpreter?
<http://home.earthlink.net/~huston2/dp/interpreter.html>
<davidp />
--
David Postill

Reply With Quote





