首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 语法分析器(1)是抽象语法树节点的类。

语法分析器(1)是抽象语法树节点的类。

  • 资源大小:172.56 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 分析器 语法 节点 抽象

资 源 简 介

The need for parsers There is a bunch of parser-generators out there, but only view generate recursive descent parsers for your LL(1) grammar. Anyway, usually you do not only need to check some input against your grammar; the common case is that you must perform custom logic on the parsed input. When building compilers, this logic is generally embedded in the nodes of your abstract syntax tree (AST), which is what a parser should output. Each node in the AST stands for an applied production of the grammar the parser recognizes. If you could define these nodes, then you could use your very own logic to process the input however you want. A compiler would do semantic checking and object code generation, a calculator would evaluate a formula, an BNF parser would determine whether a grammar is LL(1), LL(2), ... Deduce g

文 件 列 表

Beauty.dll
LICENSE.txt
README.txt
src
Beauty
Beauty.NUnit
Beauty.sln
Beauty.suo

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • WYG 2小时前 成为了本站会员

  • Shine 4小时前 成为了本站会员

  • 柳贻 6小时前 成为了本站会员

  • hallelujah_HL 7小时前 成为了本站会员

  • 焦昱贺 8小时前 成为了本站会员

  • Rubin 8小时前 成为了本站会员

  • Li 1天前 成为了本站会员

  • bigfatcat1977 2天前 成为了本站会员

  • just4down 2天前 成为了本站会员

  • shallow 2天前 成为了本站会员

0.172335s