项目作者: Nef10

项目描述 :
Parser to parse plain text into a ledger model
高级语言: Swift
项目地址: git://github.com/Nef10/SwiftBeanCountParser.git
创建时间: 2017-11-14T01:53:34Z
项目社区:https://github.com/Nef10/SwiftBeanCountParser

开源协议:MIT License

下载


SwiftBeanCountParser

CI Status Documentation percentage License: MIT Latest version platforms supported: linux | macOS | iOS | watchOS | tvOS SPM compatible

This project is part for SwiftBeanCount, please check out the main documentation here.

What

This is the parser of SwiftBeanCount. It takes a string or a file and returns a Ledger (from SwiftBeanCountModel).

How

Either call Parser.parse(contentOf: URL) or Parser.parse(string: String). You can check out the complete documentation here.

Usage

The library supports the Swift Package Manger, so simply add a dependency in your Package.swift:

  1. .package(url: "https://github.com/Nef10/SwiftBeanCountParser.git", .exact("X.Y.Z")),

Note: as per semantic versioning all versions changes < 1.0.0 can be breaking, so please use .exact for now