Install Leg On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

Install Leg On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

leg

recursive-descent parser generators for C

Maintainer: Giulio Paci



Section: devel

Install leg

  • Debian apt-get install peg Click to copy
  • Ubuntu apt-get install peg Click to copy
  • Arch Linux pacman -S peg Click to copy
  • Kali Linux apt-get install peg Click to copy
  • Fedora dnf install peg Click to copy
  • Raspbian apt-get install peg Click to copy
  • macOS brew install peg Click to copy

peg

recursive-descent parser generators for C

This package provides peg and leg, two utilities that read a Parsing Expression Grammar (PEG) and generate a recursive-descent parser for it. Unlike lex and yacc, peg and leg support unlimited backtracking, provide ordered choice as a means for disambiguation, and can combine scanning (lexical analysis) and parsing (syntactic analysis) into a single activity.

Install the latest version of leg in Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the leg just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of leg from the respository and install it in your computer/server.