简体   繁体   English

在Windows上安装LEX / YACC或flex / bison,Visual C ++ 2008

[英]Installing LEX/YACC or flex/bison on Windows, Visual C++ 2008

There's too much bytes and too few information in Internet, so I decided to ask if someone have already done such an installation. 互联网上有太多的字节和太少的信息,所以我决定询问是否有人已经完成了这样的安装。

  1. How to compile/where to download 如何编译/在哪里下载
    binaries? 二进制文件?
  2. Where can I find a build 我在哪里可以找到构建
    rule? 规则?
  3. Where can I find a bunch of 哪里可以找到一堆
    good samples (with associativity 良好的样本(具有相关性
    resolution, symbol tables etc.)? 分辨率,符号表等)?

You should be able to get flex and bison as part of cygwin, then reference them in visual studio. 你应该能够将flex和bison作为cygwin的一部分,然后在visual studio中引用它们。

This has more detail: http://blogs.msdn.com/aaronmar/archive/2004/10/13/242004.aspx 这有更多细节: http//blogs.msdn.com/aaronmar/archive/2004/10/13/242004.aspx

http://sourceforge.net/projects/winflexbison上有一些新版本的flex&bison for windows,没有额外的依赖关系

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM