Skip to content

y-ich/swift-SGF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SGF

Parser and utility functions for Smart Game Format in Swift

The parser is generated by Citron.

Usage

Add dependencies in Package.swift:

let package = Package(
    name: "your-project",
    dependencies: [
        ...
        .package(url: "https://github.com/y-ich/swift-DDP.git", .branch("master")),
    ],
    targets: [
        .target(
            name: "your-project",
            dependencies: [..., "SGF"]),
    ]
)

exmaples

See test code.

TODO

  • Charset(CA) support

License

MIT, except for CitronLexer.swift and CitronParser.swift. For CitronLexer.swift and CitronParser.swift, see file headers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published