如何在Ubuntu中安装Lex和Yacc? [英] how to install Lex and Yacc in Ubuntu?

查看:142
本文介绍了如何在Ubuntu中安装Lex和Yacc?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在SENSE中进行项目,为此我必须安装Lex和Yacc.如果可以帮助我如何在Ubuntu中安装.我是这个领域的新手.那你能帮我吗任何学习Lex和Yacc基础知识的网站

I am doing project in SENSE, for that i have to install Lex and Yacc. If you can help me how to install in Ubuntu. I very new to this area. So can you help me. Any website to study the basic of Lex and Yacc

推荐答案

使用突触包管理器来安装yacc/lex.如果您觉得在控制台上执行此操作比较舒适,请执行以下操作:

Use the synaptic packet manager in order to install yacc / lex. If you are feeling more comfortable doing this on the console just do:

sudo apt-get install bison flex

网上有一些非常不错的文章,介绍如何开始使用这些工具.我发现CodeProject上的文章很好而且很有帮助(请参见此处).但是,您应该只尝试搜索"lex简介",就会出现很多不错的文章.

There are some very nice articles on the net on how to get started with those tools. I found the article from CodeProject to be quite good and helpful (see here). But you should just try and search for "introduction to lex", there are plenty of good articles showing up.

这篇关于如何在Ubuntu中安装Lex和Yacc?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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