Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

重新实现基于ItemSets的lrparse函数 #19

Open
acodercc opened this issue Dec 25, 2014 · 0 comments
Open

重新实现基于ItemSets的lrparse函数 #19

acodercc opened this issue Dec 25, 2014 · 0 comments
Assignees

Comments

@acodercc
Copy link
Owner

现在的lrparse函数是查s/r表的,但s/r表是最终的确定型的动作表。

如果想要使jsbison能够支持更丰富的自定义动作,比如caliburn所要求用到的自动分号补全等等功能,那么查s/r表决定动作,不够灵活。

所以取消s/r表的生成,新增加一个ilrparse函数,直接根据itemsets表,决定动作。

甚至再下一步,直接根据cfg/productions/firsts/follows表来决定自动机动作。

这时就可以在决定动作时,增加更多的自定义功能。

@acodercc acodercc self-assigned this Dec 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant