Parsing, where can I learn about it

前端 未结 12 710
鱼传尺愫
鱼传尺愫 2020-12-13 14:56

I\'ve been given a job of \'translating\' one language into another. The source is too flexible (complex) for a simple line by line approach with regex. Where can I go to le

12条回答
  •  感动是毒
    2020-12-13 15:33

    Try ANLTR:

    ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages.

    There's a book for it also.

    alt text

提交回复
热议问题