2015/01: Add interpreter
This commit is contained in:
parent
e4303ba342
commit
ec99b4770b
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
#+begin_src sh
|
#+begin_src sh
|
||||||
gforth main.fs
|
./main.fs
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
2
2015/day-01/main.fs
Normal file → Executable file
2
2015/day-01/main.fs
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
||||||
|
#! /usr/bin/env gforth
|
||||||
|
|
||||||
: parse-instructions ( ulen addr -- )
|
: parse-instructions ( ulen addr -- )
|
||||||
0 >r
|
0 >r
|
||||||
0 u+do
|
0 u+do
|
||||||
|
|
Loading…
Reference in a new issue