Go to file
Norio Nomura 5439041573
Add `Parser.singleRoot()`
It supports behavior that expected by `YamlParserTests.testParseInvalidStringThrows` in SwiftLint.
2017-02-26 22:09:11 +09:00
Sources Add `Parser.singleRoot()` 2017-02-26 22:09:11 +09:00
Tests Add test that verify `nextRoot()` throws on Invalid YAML 2017-02-26 22:07:00 +09:00
Yams.xcodeproj Move implementation of `Node.Scalar` to `Node.Scalar.swift` 2017-02-24 23:49:35 +09:00
.gitignore first commit 2016-11-19 13:59:58 -08:00
.swift-version first commit 2016-11-19 13:59:58 -08:00
.swiftlint.yml first commit 2016-11-19 13:59:58 -08:00
.travis.yml Add a job using Swift 3.1 (norionomura/sourcekit:3120170131a) for Linux to Travis 2017-02-04 21:53:59 +09:00
LICENSE first commit 2016-11-19 13:59:58 -08:00
Package.swift first commit 2016-11-19 13:59:58 -08:00
README.md add image to readme 2016-11-20 11:26:22 -08:00
Yams.podspec release 0.2.0 2017-02-02 17:40:21 -08:00
yams.jpg add image to readme 2016-11-20 11:26:22 -08:00

README.md

Yams

Yams

A sweet and swifty Yaml parser built on libYAML.

Test Status

Installation

Building Yams on macOS requires Xcode 8.x or a Swift 3.x toolchain with the Swift Package Manager.

Building Yams on Linux requires the Swift 3.0 compiler and Swift Package Manager to be installed.

Swift Package Manager

Add .Package(url: "https://github.com/jpsim/Yams.git", majorVersion: 0) to your Package.swift file's dependencies.

CocoaPods

Add pod 'Yams' to your Podfile.

Carthage

Add github "jpsim/Yams" to your Cartfile.

Credit

This library was initially based on Chris Eidhof's gist.

License

Both Yams and libYAML are MIT licensed.