Giter Club home page Giter Club logo

probparsers's Introduction

ProB Parsers Library

Build Status

Using

Releases are on Maven Central, Snapshots on https://oss.sonatype.org/content/repositories/snapshots/. You can include the B parser in a gradle build script like this:

def parser_version = '2.9.17' // development version: 2.9.18-SNAPSHOT
dependencies {
	compile group: "de.hhu.stups", name: "bparser", version: parser_version
	compile group: "de.hhu.stups", name: "ltlparser", version: parser_version// optional
	compile group: "de.hhu.stups", name: "parserbase", version: parser_version
	compile group: "de.hhu.stups", name: "prologlib", version: parser_version
}

The repository contains some additional parsers:

  • answerparser - Parses the answers sent by probcli
  • bparser - Parser for classical B
  • cliparser - Commandline interface for the classical B + LTL parser
  • eventbstruct - Parser for the Camille structural syntax
  • ltlparser - Parser for LTL and CTL
  • parserbase - Interface classes for the Parsers
  • prologlib - Library to produce valid Prolog terms
  • theorymapping - Parser for Theory mapping files (translation of EventB operators to Prolog predicates)
  • translator - Translates B values into Java objects.
  • unicode - Conversion of EventB Unicode Strings to ASCII and vice versa

Building

Run the 'deploy' target with gradle.

On windows you need to install the program 'patch.exe'.

The artifacts are copied to the build folder.

Bugs

Please report bugs and feature requests at https://probjira.atlassian.net

Content

  • bparser - parser for classical B (more information in http://www.stups.uni-duesseldorf.de/w/An_Object_Oriented_Parser_For_B_Specifications)
  • prologlib - library to construct and manipulate well-formed prolog terms
  • parserbase - library for uniform access to the formal language parsers (e.g. to embed a language into ltl)
  • ltlparser - parser for LTL formulas - the parser delegates formulas in { } to a formalism specific parser (e.g. to the classical B parser). Also contains a parser for CTL
  • answerparser - parser to read answers from the ProB prolog core
  • unicode - lexer that transforms Event-B expressions and predicates from ASCII to Unicode syntax and vice3 versa (note: this is not extensible!)
  • cliparser - glue code for embedding the parser in the prolog core (deprecated!)
  • translator - translator for B expressions to java

Contributors

The libraries contain contributions from (in alphabetical order) Jens Bendisposto, Marc Büngener, Fabian Fritz, Dominik Hansen, Sebastian Krings, Michael Leuschel, Daniel Plagge, David Schneider

Licence

The ProB Parser Library source code is distributed under the Eclipse Public License - v 1.0 (see epl-v10.html)

The Parser Library comes with ABSOLUTELY NO WARRANTY OF ANY KIND ! This software is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY. The author(s) do not accept responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all. No warranty is made about the software or its performance.

(c) 2011-2018 STUPS group, University of Düsseldorf

probparsers's People

Contributors

bendisposto avatar bivab avatar dgelessus avatar dobrikov avatar dohan avatar joyheron avatar marcfontaine avatar pkoerner avatar wysiib avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.