ling-macro 2030.0.0

Procedural macros for the Ling language ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Ling procedural macros

use proc_macro::TokenStream;
use syn::{parse_macro_input, DeriveInput};

#[proc_macro_derive(LingType)]
pub fn derive_ling_type(input: TokenStream) -> TokenStream {
    let input = parse_macro_input!(input as DeriveInput);
    // Generate Ling type metadata
    TokenStream::new()
}