microcad-builtin 0.2.12

µcad Builtin Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright © 2025 The µcad authors <info@ucad.xyz>
// SPDX-License-Identifier: AGPL-3.0-or-later

mod assert;

pub use assert::*;

use microcad_lang::resolve::*;

/// Module for built-in debugging.
pub fn debug() -> Symbol {
    crate::ModuleBuilder::new("debug")
        .symbol(assert())
        .symbol(assert_eq())
        .symbol(assert_valid())
        .symbol(assert_invalid())
        .build()
}