implementing problems @@@@

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
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
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)
Topic archived. No new replies allowed.