First Set & Follow Setting Procedure

xiaoxiao2021-03-06  22

After learning the principle of compilation, I always want to use it to do something, I found that Bison is very easy to use, and it feels simple, so I try to imitate it, so I will have it.

This is part of my anti-BISON 1.24 Scanner Automatic Builder, extract it, so that everyone will be used when needed. This program can read from the input file similar to the context-free definition method defined in BISON 1.24 and processes it, and output its terminator set, non-end conjunction set, generated (grammar) set, and FRST and FOLLOW set.

Welcome everyone to make amendments!

http://lvjinhua.go1.icpcn.com

转载请注明原文地址:https://www.9cbs.com/read-39961.html

New Post(0)