GithubHelp home page GithubHelp logo

bouffier-java's Introduction

Bouffier Java

This is a tool for converting Java source to AST representation.

AST file support the follow formats.

  • yaml
  • xml

Usage

BOUFFIER_JAVA_PROJECT_PATH

The specified directory contains Java sources and output AST files (default is /bouffier-java-project)

This directory should have the following composition.

projects/
├── out
│   └── {{AST files will be outputed here}}
└── source
    └── {{Java sources}}

So, you need to create a directory in this format and mount it.

BOUFFIER_JAVA_FORMAT

The format of output AST file. (default is yaml)

You can choose the following format.

  • yaml
  • xml

BOUFFIER_JAVA_PARSE_MODE

You can choose the following type.

  • file
  • method

Quick Start

Clone this repository and put java sources in /tests/resources/source.

Run by docker-compose.

$ docker-compose -f docker-compose.sample.yml up

bouffier-java's People

Contributors

taxio avatar

Stargazers

 avatar

Forkers

mkmknd

bouffier-java's Issues

Error `Modules are not supported.`

it happens when parsing the java src for example module-info.java.
like following

module org.apache.commons.logging {
  requires org.slf4j;
  exports org.apache.commons.logging;
}

need to use > Java9

tests

please some java sources for tests....

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.