This website works better with JavaScript.
Explore
Help
Sign In
ppxf25tqu
/
nudt-compiler-cpp
forked from
NUDT-compiler/nudt-compiler-cpp
Watch
1
Star
0
Fork
You've already forked nudt-compiler-cpp
1
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
da4e8fd860
develop
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'da4e8fd860'
${ noResults }
nudt-compiler-cpp
/
To_do_list
/
Sema.md
340 B
Raw
Blame
History
Unescape
Escape
依据SysY文档
,
语义约束如下
:
CompUnit:
存在且仅存在一个标识为'main'
,
无参数
,
返回类型为int的FuncDef(函数定义)。
CompUnit中的顶层变量/常量Decl、函数定义FuncDef都不可以重复定义同名的Ident
,
即便标识符的类型不同。
ConstDef: