Skip to content

kimichen13/beancount-antlr-parser

Repository files navigation

Beancount Antlr Parser

A tool to parse input to beancount directives.

Getting Started

To use this tool, you can add to your pom.xml or build.gradle.kts.

<dependency>
  <groupId>com.qqviaja.tools</groupId>
  <artifactId>beancount-antlr-parser</artifactId>
  <version>1.1</version>
</dependency>
dependencies {
    implementation("com.qqviaja.tools:beancount-antlr-parser:1.1")
}

Usage

Use BeancountAntlrParser#parser to parse input to Expense entity.

If any exception, it will return null.

Built With

  • Antlr4 - ANother Tool for Language Recognition
  • Gradle - Build tool

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details