From a41cabb1c4045ca719a2f28a947c3f90cafbe567 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Mon, 30 Mar 2020 23:16:53 -0700 Subject: [PATCH] Misc cleanup. License headers and removing old examples. --- Makefile | 2 +- examples/Makefile | 2 +- examples/random-heap-dump/Makefile | 17 ----------------- examples/random-heap-dump/randomheap.pvvs | 18 ------------------ vv_compiler.c | 2 +- vv_interpreter.c | 2 +- 6 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 examples/random-heap-dump/Makefile delete mode 100644 examples/random-heap-dump/randomheap.pvvs diff --git a/Makefile b/Makefile index d07a47c..1b5e913 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # (c) 2019 Aaron Taylor -# All rights reserved. +# See LICENSE.txt file for copyright and license details. #################################################################################################### # Configuration diff --git a/examples/Makefile b/examples/Makefile index cb5ac3d..7c7f9f9 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,5 +1,5 @@ # (c) 2019 Aaron Taylor -# All rights reserved. +# See LICENSE.txt file for copyright and license details. EXAMPLES != find . -mindepth 1 -maxdepth 1 -type d diff --git a/examples/random-heap-dump/Makefile b/examples/random-heap-dump/Makefile deleted file mode 100644 index 9d0ab07..0000000 --- a/examples/random-heap-dump/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# (c) 2019 Aaron Taylor -# All rights reserved. - -include ../config.mk - -all: randomheap - -randomheap: - $(CPP) $(CPP_FLAGS) -o temp.pvvs randomheap.pvvs - $(VVS_COMPILER) -i temp.pvvs -o randomheap.vvs - @rm -f temp.pvvs - -run: randomheap - $(VVS_INTERPRETER) -i randomheap.vvs - -clean: - @rm -f randomheap.vvs temp.pvvs diff --git a/examples/random-heap-dump/randomheap.pvvs b/examples/random-heap-dump/randomheap.pvvs deleted file mode 100644 index b677618..0000000 --- a/examples/random-heap-dump/randomheap.pvvs +++ /dev/null @@ -1,18 +0,0 @@ -@@ Seed the RNG -SSSSN | PUSH 0 (ptr) -SSSTTSTTTTSTSTSTTSTTSTTTTTSTTTSTTTTN | PUSH Seed value -TTS | STORE - -@@ Populate heap[18]-heap[29] with random values -SSSTSTTN | PUSH 11 -SSSTSSTSN | PUSH 18 -NSTTTSTSN | JSR > 11010 (memrand) - -@@ Print heap[16]-heap[31] -SSSTTTTTN | PUSH 31 -SSSTSSSSN | PUSH 16 -NSTTTTSSSN | JSR > 111000 (dump heap) -NNN | DIE - -#include -#include diff --git a/vv_compiler.c b/vv_compiler.c index 988eee9..d4f6af9 100644 --- a/vv_compiler.c +++ b/vv_compiler.c @@ -1,6 +1,6 @@ /* * (c) 2019 Aaron Taylor - * All rights reserved. + * See LICENSE.txt file for copyright and license details. */ #include diff --git a/vv_interpreter.c b/vv_interpreter.c index cf5cdef..1e42baf 100644 --- a/vv_interpreter.c +++ b/vv_interpreter.c @@ -1,6 +1,6 @@ /* * (c) 2019 Aaron Taylor - * All rights reserved. + * See LICENSE.txt file for copyright and license details. */ #include -- 2.20.1