EBNF - urgent help needed
807598Dec 11 2005 — edited Dec 12 2005Hey guys, i have been given the following information to produce a EBNF notation:
i have 3 command statements.. as follows
1. DIR which requests a screen listing of the current file system
directory, and has no arguments..
e.g DIR (lists current directory)
2. COPY which copies a named file to the screen or to a 2nd named file
in the current directory
eg.. COPY FILE1 copies file one to screen...
3. DEL which deletes one or more named files separated by commas from
the current directory
e.g.. DEL FILE1 deletes file1
in EBNF... i have the current solution...
the following is the start i have produced:
<command_stat>::=<dir_command>|<copy_command>|<del_command>
<dir_command>::=
<copy_command>::=
<del_command>::=
im not too sure what to do with the dir, copy and del notation, any help would be great, thanks alot..