From 1cec086a6034ad546977cae7aeaf4bb876d21970 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 16:54:36 -0400 Subject: Deprecate `>> x ... = val` form of doctests and rename them to 'debug logs', also add multi-expression support --- src/compile/debuglog.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/compile/debuglog.h (limited to 'src/compile/debuglog.h') diff --git a/src/compile/debuglog.h b/src/compile/debuglog.h new file mode 100644 index 00000000..30b14776 --- /dev/null +++ b/src/compile/debuglog.h @@ -0,0 +1,9 @@ +// This file defines how to compile debug logs + +#pragma once + +#include "../ast.h" +#include "../environment.h" +#include "../stdlib/datatypes.h" + +Text_t compile_debug_log(env_t *env, ast_t *ast); -- cgit v1.2.3