Bocho is a set of utility libraries with common code that supports Yanagiba modules.
Bocho is part of Yanagiba Project. Yanagiba umbrella project is a toolchain of compiler modules, libraries, and utilities, written in Swift and for Swift.
Embed Into Your Project
Add the bocho dependency to
// swift-tools-version:4.2 import PackageDescription let package = Package( name: "MyPackage", dependencies: [ .package(url: "https://github.com/yanagiba/bocho.git", from: "0.18.10") ], targets: [ .target(name: "MyTarget", dependencies: ["Bocho"]), ], swiftLanguageVersions: [.v4_2] )
Use Bocho in Your Code
import Bocho let ttyColoredString = "foobar".colored(with: .red)
Browse source code for other applications.
Build & Run
Building the entire project can be done by simply calling:
This is equivalent to
Compile and run the entire tests by:
Bocho is available under the Apache License 2.0. See the LICENSE file for more info.
Help us keep the lights on
v0.1.2 - Mar 31, 2018
- Use Swift 4.1
v0.1.1 - Sep 20, 2017
- Use Swift 4
v0.1.0 - Aug 14, 2017
Initial release with
- DotYanagiba (
.yanagiba) file comprehension
- Command line options interpretation
- Extensions to Swift String