From 708e812049c2343b0899c673e5276ba116f7c1f2 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Wed, 21 Feb 2018 10:50:23 -0800 Subject: [PATCH] Start kf (kyle's forth) Here we go with another pass at writing a Forth. --- misc/kf/build.yaml | 9 +++++++++ misc/kf/io.h | 10 ++++++++++ misc/kf/kf.cc | 8 ++++++++ 3 files changed, 27 insertions(+) create mode 100644 misc/kf/build.yaml create mode 100644 misc/kf/io.h create mode 100644 misc/kf/kf.cc diff --git a/misc/kf/build.yaml b/misc/kf/build.yaml new file mode 100644 index 0000000..ab57cc6 --- /dev/null +++ b/misc/kf/build.yaml @@ -0,0 +1,9 @@ +compilers: + cxx: clang++ + ld: clang++ + +targets: + cc: + kf: + - io.cc + - kf.cc \ No newline at end of file diff --git a/misc/kf/io.h b/misc/kf/io.h new file mode 100644 index 0000000..ed14085 --- /dev/null +++ b/misc/kf/io.h @@ -0,0 +1,10 @@ +#ifndef __KF_IO_H__ +#define __KF_IO_H__ + +// TODO(kyle): make this selectable by architecture. + +class IO { + +}; + +#endif // __KF_IO_H__ \ No newline at end of file diff --git a/misc/kf/kf.cc b/misc/kf/kf.cc new file mode 100644 index 0000000..abb3494 --- /dev/null +++ b/misc/kf/kf.cc @@ -0,0 +1,8 @@ +#include "io.h" + + +int +main(void) +{ + return 0; +} \ No newline at end of file