Start kf (kyle's forth)
Here we go with another pass at writing a Forth.
This commit is contained in:
9
misc/kf/build.yaml
Normal file
9
misc/kf/build.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
compilers:
|
||||||
|
cxx: clang++
|
||||||
|
ld: clang++
|
||||||
|
|
||||||
|
targets:
|
||||||
|
cc:
|
||||||
|
kf:
|
||||||
|
- io.cc
|
||||||
|
- kf.cc
|
||||||
10
misc/kf/io.h
Normal file
10
misc/kf/io.h
Normal file
@@ -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__
|
||||||
8
misc/kf/kf.cc
Normal file
8
misc/kf/kf.cc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#include "io.h"
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
main(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user