- Provides a definition of a macro language or syntax and parsing into objects in a program.
- Define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language
- Maps a domain to a language, the language to a grammar, and the grammar to a hierarchical object-oriented design.
Where to use ?
- Need your own parser generator
- Translate a specific expression
- Handle a tree-related information
No comments:
Post a Comment
Note: only a member of this blog may post a comment.