--- /dev/null
+#include "common_cpp.h"
+
+/*** class Namespace ***/
+
+Namespace::Namespace(string path)
+{
+}
+
+
+Namespace::~Namespace(void)
+{
+}
+
+
+/*** class NamespaceManager ***/
+
+
--- /dev/null
+#include "common_cpp.h"
+
+/*** class Stream ***/
+
+Stream::Stream(void)
+{
+}
+
+Stream::~Stream(void)
+{
+}
+
+
+/*** class TextFileStream ***/
+
+int TextFileStream::Load(string fname)
+{
+ fileName = fname;
+ return 0;
+}
+
+TextFileStream::~TextFileStream(void)
+{
+}
--- /dev/null
+#include "common.h"
+
+/*
+* cmdline.c --glent interactive user interface
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+
--- /dev/null
+/*
+* common.h --glent main header file
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+#include <stdio.h>
+#include <string.h>
+
+
+/*** toplev.c ***/
+
+int toplev_main(int argc, const char** argv);
+
+
+/*** toplev_cpp.cpp ***/
+
+/* disable object mangling */
+#ifdef __cplusplus
+extern "C" int toplev_main_cpp(int argc, const char** argv);
+#else
+extern int toplev_main_cpp(int argc, const char** argv);
+#endif
+
--- /dev/null
+
+extern"C"
+{
+ #include "common.h"
+}
+
+/*
+* common_cpp.h --glent main header for C++
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+
+#include <iostream>
+#include <string>
+
+using namespace std;
+
+
+/*** Stream.cpp ***/
+
+class Stream
+{
+public:
+ Stream(void);
+ ~Stream(void);
+
+
+
+};
+
+class TextFileStream : public Stream
+{
+public:
+ TextFileStream(void);
+ ~TextFileStream(void);
+
+ int TextFileStream::Load(string fname);
+
+private:
+ string fileName;
+
+
+};
+
+
+/*** Namespace.cpp ***/
+
+class Namespace
+{
+public:
+ Namespace(void);
+ ~Namespace(void);
+};
--- /dev/null
+#include "common.h"
+
+/*
+* main.c --program entry point
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+/*
+* We define main() to call toplev_main(), which is defined in toplev.c.
+* We do this in a separate file in order to allow the language front-end
+* to define a different main(), if it so desires.
+*/
+
+int main(int argc, char** argv)
+{
+ /* the main statement in this glent system below */
+
+ return
+ toplev_main(argc, (const char **) argv);
+}
--- /dev/null
+#include "common.h"
+
+/*
+* toplev.c --glent entry point
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+int toplev_main(int argc, const char** argv)
+{
+ return
+ toplev_main_cpp(argc, (const char **) argv);
+}
--- /dev/null
+#include "common_cpp.h"
+
+/*
+* toplev_cpp.cpp --glent entry point
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+int toplev_main_cpp(int argc, const char** argv)
+{
+
+ return 0;
+}