Skip to content

lcsoft2009/freeCompute

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

freeCompute 一个练习语法分析的程序

###主要任务:

  1. 建立栈;
  2. 实现getoken分解输入流;
  3. 利用栈转中缀式为后缀式;
  4. 利用栈进行后缀表达式求值;
  5. 实现另一种思路,利用语法树直接对中缀表达式求值,无需转后缀式;
  6. 支持变量声明等语法;

test pull request by kiyoto

About

grammatical analysis demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published