Erlang还允许我们编程访问经过词法分析(tokenized)、语法分析之后、抽象形式的表达式。
Erlang also gives us programmatic access to the tokenized, parsed and abstract forms of an expression.
类似于P: RD,那些语法使用简单的规则来进行词法分析,然后使用更复杂的规则来解析经过词法分析后的输入内容。
Like p: : RD, those grammars use simple rules to do lexing, and then use more complex rules to parse the lexed input.
经过对《文字生涯》的翻译风格进行分析,可以发现译者在词法和句法上分别采取了归化和异化的翻译策略。
Through analyzing the translation style of les Mots, we find that the translator adopted domesticating method and foreignizing method for translating the words and the sentences.
应用推荐