• 大小: 19KB
    文件类型: .txt
    金币: 2
    下载: 1 次
    发布日期: 2021-07-23
  • 语言: C/C++
  • 标签:

资源简介

C语言词法分析器 #include #include #include char *key0[]={" ","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","_Complex","_Imaginary","union","unsigned","void","volatile","while"}; /*保留字表*/ char *key1[]={" ","(",")","[","]","{","}",",",";","'"}; /*分隔符表*/ char *key2[]={" ","+","-","*","/","%","","==",">=","<=","!=","!","&&","||","<>","~","|","^","&","=","?:","->","++","--",".","+=","-=","*=","/="}; /*运算符表*/ int xx0[35],xx1[10],xx2[31]; .......

资源截图

代码片段和文件信息

评论

共有 条评论