diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-09 14:01:20 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-09 14:01:20 +0200 |
| commit | 32a251aa9645de070727a6ec91490d3e9219ec7c (patch) | |
| tree | 5dd55205c5df68fa449e766ec2a8d248e21bd2be /src/zeroscript/root.zig | |
| parent | 09e8d4548361ece6151b914709c39e254eba65e3 (diff) | |
rename z framework to zeroscript
Diffstat (limited to 'src/zeroscript/root.zig')
| -rw-r--r-- | src/zeroscript/root.zig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/zeroscript/root.zig b/src/zeroscript/root.zig new file mode 100644 index 0000000..321bde4 --- /dev/null +++ b/src/zeroscript/root.zig @@ -0,0 +1,18 @@ +const builtin = @import("builtin"); +const std = @import("std"); + +pub const log = @import("log/root.zig"); +pub const Env = @import("Env/root.zig"); +pub const Object = @import("Object.zig"); +pub const html = @import("html/root.zig"); + +pub const App = @import("App/root.zig").App; +pub const Options = @import("App/root.zig").Options; +pub const Component = @import("Component.zig"); + +fn defaultPanic(msg: []const u8, _: ?usize) noreturn { + log.js.err(msg); + @trap(); +} + +pub const panic = std.debug.FullPanic(defaultPanic); |