summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--2024/gforth/lib.fs6
1 files changed, 6 insertions, 0 deletions
diff --git a/2024/gforth/lib.fs b/2024/gforth/lib.fs
new file mode 100644
index 0000000..24cf68e
--- /dev/null
+++ b/2024/gforth/lib.fs
@@ -0,0 +1,6 @@
+: start-header ( n -- )
+ ." Advent of Code 2024 day " dup . ." Solution" cr
+ ." <https://adventofcode.com/2024/" dup 1 .r ." >" cr cr ;
+
+: start-lines ( n -- lines )
+ dup start-header