syntax
Version, currently master branch1 version
- master branchlatestFeb 15, 2022
github.com/FnControlOption/crystal-syntax
compiler/crystal/syntax but as a standalone module
0 stars
0 dependents
License: Apache-2.0
Installation
# Add this to your shard.yml
dependencies:
syntax:
github: FnControlOption/crystal-syntax
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
*- License
- Apache-2.0
Dependencies
This version declares no dependencies.
README
syntax
compiler/crystal/syntax but as a standalone module
dependencies:
syntax:
github: FnControlOption/crystal-syntax
require "syntax"
p Syntax::Parser.parse("2 + 2").class_desc
# "Call"
p Syntax::Parser.parse("2 + 2").location
# :1:1
p Syntax::Parser.parse("2 + 2").end_location
# :1:5
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
- Feb 15, 2022
- Crystal
*- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/FnControlOption/crystal-syntax
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1