Git Product home page Git Product logo

grappa-debugger's Introduction

Read me first

This project is licensed under both LGPLv3 and ASL 2.0. See file LICENSE for more details.

The current version is 0.3.0. You can download a self contained jar with a main on Bintray.

Compatibility notes

This project requires Java 8 and JavaFX 8; it has been developed using JDK 1.8u25 from Oracle.

It is recommended that you run this program with a version at least this recent. Among other things, exception handling relies on the default uncaught exception handler working correctly with JavaFX. Apparently, this was not the case with earlier versions of JDK 8. Unfortunately I don't know the full details.

What this is

This is a GUI application to debug parsers written with grappa.

It uses trace files generated by a parser runner originally developed for the next grappa iteration, 2.0.x. However, the parsing runner used to generate the trace files has been backported to grappa 1.0.x and, by extension, parboiled 1.1.x as well.

For those among you in the know: this tracing parser does NOT require that parser classes be annotated with @BuildParseTree in order to produce its trace files.

Features

The tracer will collect all tracing elements (the input text, list of matchers and parsing nodes) into a zip file. This application will load such a zip file and will offer you several means of analyzing the parsing process.

It uses an H2 database as a SQL backend and JooQ to query this backend.

For more details, see this wiki page.

Future plans include:

  • running a live debugging session of a parsing run;
  • decompiling generated parsers.

grappa-debugger's People

Contributors

fge avatar

Watchers

James Cloos 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.