tl_parser
Version, currently master branch1 version
- master branchlatestNov 24, 2021
github.com/protoncr/tl_parser
Type Language parser for Crystal
1 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
tl_parser:
github: protoncr/tl_parser
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.34.0- License
- MIT
- Author
- Chris Watzon
Dependencies
Development Dependencies
- spectator~> 0.9.40gitlab: arctic-fox/spectatordev
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Nov 24, 2021
- Crystal
0.34.0- Indexed
- yes
Dependents
Repository
github.com/protoncr/tl_parser
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 1, 2026
- Synced
- Sep 1, 2026
- Versions
- 1