我在哪里可以找到一个YACC gammar的ECMAScript中/动作脚本/ Javascript的 [英] Where can I find a yacc gammar for ECMAscript/Actionscript/Javascript

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

问题描述

我的编译器类需要我们找到一个yacc语法对这些语言之一,并与我们写的分词结合起来。 presumably这是一件很容易谷歌,但我找不到它和我的同学们都在努力为好。一个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

这篇关于我在哪里可以找到一个YACC gammar的ECMAScript中/动作脚本/ Javascript的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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