peepmatic: Introduce the peepmatic-macro crate

This crate provides the derive macros used by `peepmatic`, notable AST-related
derives that enumerate child AST nodes, and operator-related derives that
provide helpers for type checking.
This commit is contained in:
Nick Fitzgerald
2020-05-01 15:33:55 -07:00
parent c82326a1ae
commit 0f03a97475
6 changed files with 679 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[package]
name = "peepmatic-macro"
version = "0.1.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
proc-macro2 = "1.0.9"
quote = "1.0.3"
syn = { version = "1.0.16", features = ['extra-traits'] }
[lib]
proc_macro = true