Aug 28, 2009 at 9:39pm UTC
This is a map of the basic structure of a replacable syntax class Im making for an experimental language parser im makin...
OPTION : the option class contains
string*
. its purpose is to hold simular phrases or words that can be used in the language syntax in one array.
OPTIONLIST : this class contains
OPTION*
to create a paragraph of many phrases which are used together.
1 2 3 4 5 6 7
STRING {...} STRING {...}
\/ \/
OPTION {...} OPTION {...}
| |
\ /
\ /
OPTIONLIST
My problem is implementing them all efficiantly and cleanly. I need some help.
- Alan
Last edited on Aug 29, 2009 at 1:46am UTC
Aug 28, 2009 at 11:27pm UTC
Are the at symbols really necessary?
I don't what you're asking. Are you asking how to parse the language and fill the structures, or how to write the parser that will parse the language?
Last edited on Aug 28, 2009 at 11:27pm UTC
Aug 29, 2009 at 1:58am UTC
Neither, I believe I didnt word it right... Maybe I should just take a look at what im tryin to do then find a better approch.. Thanks anyway... (sorry about the @s, lol)