2015/01: Add interpreter

This commit is contained in:
Tom Willemse 2024-11-30 16:25:54 -08:00
parent e4303ba342
commit ec99b4770b
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,3 @@
#+begin_src sh
gforth main.fs
./main.fs
#+end_src

2
2015/day-01/main.fs Normal file → Executable file
View file

@ -1,3 +1,5 @@
#! /usr/bin/env gforth
: parse-instructions ( ulen addr -- )
0 >r
0 u+do