tl_parser
TLParser
This library makes parsing .tl
files with Crystal simple. It's about 95% complete, and will allow the parsing of most Type Language grammars.
Installation
-
Add the dependency to your
shard.yml
:dependencies: tl_parser: github: protoncr/tl_parser
-
Run
shards install
Usage
require "tl_parser"
data = File.read("api.tl")
defs = TLParser.parse(data)
pp defs
Contributing
- Fork it (https://github.com/watzon/tl_parser/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Chris Watzon - creator and maintainer
Repository
tl_parser
Owner
Statistic
- 0
- 1
- 0
- 1
- 1
- about 3 years ago
- April 21, 2020
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 09:17:26 GMT
Languages