我在哪里可以找到ECMAscript / Actionscript / Javascript的yacc语法 [英] Where can I find a yacc grammar for ECMAscript/Actionscript/Javascript

查看:95
本文介绍了我在哪里可以找到ECMAscript / Actionscript / Javascript的yacc语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的编译器类要求我们为其中一种语言找到yacc语法,并将它与我们编写的标记器结合起来。据推测,这对谷歌来说很容易,但我找不到它,我的同学们也在苦苦挣扎。这三种语言中的任何一种的yacc语法就足够了。

My compilers class requires us to find a yacc grammar for one of these languages and combine it with the tokenizer we wrote. Presumably this is something easy to Google but I can't find it and my classmates are struggling as well. A yacc grammar for any of those three languages would suffice.

推荐答案

可能 为您工作: http://www.antlr.org/grammar/1153976512034/ ecmascriptA3.g

这篇关于我在哪里可以找到ECMAscript / Actionscript / Javascript的yacc语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆