rukt 0.2.4

Simple Rust dialect for token-based compile-time scripting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![doc = include_str!("../README.md")]

pub mod builtins;
pub mod eval;

pub mod utils;

/// Rukt code block.
///
/// The primary entry point to evaluate and expand Rukt
/// [statements](crate::eval::block).
#[macro_export]
macro_rules! rukt {
    ($($T:tt)*) => {
        $crate::eval::block!({ $($T)* } () ($crate::eval::stop;) [] [] $);
    };
}