on master help sign in
j/src/lib.rs
28 lines 670 B history raw
1/// `eprintln!` for `j`'s own messages (§1.4). A stderr that cannot take the
2/// line (its reader has exited, as in `j … 2>&1 | head`, or the device is
3/// full) loses it; `eprintln!` would panic instead, and the run would end
4/// with the runtime's status 101 rather than the one it reports.
5#[macro_export]
6macro_rules! report {
7 ($($arg:tt)*) => {{
8 $crate::terminal::report(format_args!($($arg)*));
9 }};
12pub mod ast;
13pub mod builtins;
14pub mod config;
15pub mod diagnostics;
16pub mod domain;
17pub mod eval;
18pub mod lex;
19mod lookup;
20pub mod parse;
21pub mod render;
22pub mod repo;
23pub mod shape;
24pub mod show;
25pub mod terminal;
26pub mod value;
28pub mod jj;