Skip to content
/ yaYACC Public

Personal implementation of LL(1) and LR(1) parser in C++. BUPT编译原理作业

License

Notifications You must be signed in to change notification settings

Micuks/yaYACC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaYACC: 可根据任意给定文法对任意输入进行语法分析的语法分析程序

yaYACC(yet another YACC)

Introduction

可以根据任意给定文法对任意输入进行语法分析, 包括LL(1)和LR(1)两种分析方式.

运行环境

在macOS上使用clang进行过测试, 其他环境兼容性未知, 可能需要自己对CMakeLists做修改.

Using

运行如下指令可以获得详细说明.

cmake -S . -B build
./build/main --help

Testing

使用Google test进行单元测试.

cmake -S . -B build
./build/test_all

About

Personal implementation of LL(1) and LR(1) parser in C++. BUPT编译原理作业

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published