Questions tagged [bison]

Bison is a general-purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to parse that grammar.

Quoted from http://packages.ubuntu.com/lucid/bison

Bison is a general-purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to parse that grammar. Once you are proficient with Bison, you may use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages.

Bison is upward compatible with Yacc: all properly-written Yacc grammars ought to work with Bison with no change. Anyone familiar with Yacc should be able to use Bison with little trouble. Documentation of the program is in the bison-doc package.

5 questions
3
votes
0 answers

How to install bison 2.7 in ubuntu 14.04

How can I install bison (2.7.1) in Ubuntu 14.04 (Trusty) ? I did specifying the version, but there is nothing to install. $ sudo apt-get install bison=2.7.1 Reading package lists... Done Building dependency tree Reading state information...…
Salehi
  • 569
1
vote
1 answer

Downloading and installing Flex and Bison for use in closed environment (can not use apt-get)

I am trying to download and install Flex and Bison for use in a closed environment on a new install of ubuntu. I have searched and can not seem to figure out exactly WHAT I need to download.
earl
  • 11
0
votes
0 answers

Unable to install flex - Many errors: E: Internal Error, ordering was unable to handle the media swap

Unable to install flex - There were many errors: Err:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 m4 amd64 1.4.18-5ubuntu2 Temporary failure resolving 'archive.ubuntu.com' E: Failed to fetch…
Saleem
  • 1
0
votes
0 answers

/usr/bin/ld: cannot find -ly (flex and bison, Ubuntu 20.04.2)

I just switched from Windows10 to Ubuntu 20.04.2, and after installing Flex and Bison using these commands : sudo apt-get update sudo apt-get flex bison I get an error after running gcc lex.yy.c syntaxique.tab.c -lfl -ly -o acad Image…
0
votes
1 answer

No makefile error after running ./configure yet there is clearly a makefile in the dir

Before you tell me to read some wiki or installation guide, I already have read multiple and followed them step by step word for word. I ran ./configure already I have gcc and cc installed.
Aplleroar
  • 116