Skip to content

一个支持了多个扩展语法的pl0语言的编译器,使用lex和yacc源程序产生

Notifications You must be signed in to change notification settings

Ethan00Si/Pl0-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

包含三个项目

如果用我的代码去交作业了,就点个star吧!:star:

  • 含5项扩展的pl0程序的编译器的实现
    • 词法部分
    • 语法部分
      • 输出抽象语法树
    • 语义部分
      • 生成类pcode并解释执行
  • 拓展的语法部分
    • 支持float以及相关加减乘除运算
    • 支持string
    • repeat语句
    • for语句
    • 数组(支持int和float)

About

一个支持了多个扩展语法的pl0语言的编译器,使用lex和yacc源程序产生

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published