Skip to content

preusser/wisent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The wisent Parser Generator

Wisent is an LALR(1) parser generator with pluggable front- and backends. It generates object-oriented code with clean namespace separation. A yacc-like frontend is currently accompanied by a C++ and a Java backend. The tool itself is implemented in C++.

Platform

  • independent (source)
  • GNU make, POSIX shell (distributed build scripts)

License

GNU General Public License (GPL)

Build Requirements

Building wisent requires the lexer tool flex.

Quick Start

  1. Clone repository: git clone https://github.com/preusser/wisent.git
  2. Change into directory 'wisent': cd wisent
  3. Build the parser generator: make wisent
  4. Test the provided Java example (see also examples/Calc.howto):
    • cd examples
    • ../wisent -bjava Calc
    • javac Calc.java
    • java Calc

Documentation

Please, refer to the technical report TUD-FI04-11.

References

Besides the shipped examples, the parser for the wisent grammar itself in implemented by a wisent grammar. Other use examples can be found in the following projects:

Project Grammar
Q2D Boolean Expression Parser
Q27 Range Specification Parser
QBM QDL Circuit Description Parser

About

The wisent Parser Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published