--- /dev/null
+#include "common_cpp.h"
+
+/*
+* Tokenizer.cpp --divide stream into tokens
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+Tokenizer::Tokenizer(Stream st)
+{
+}
+
+
+Tokenizer::~Tokenizer(void)
+{
+}
public:
Stream(void);
~Stream(void);
-
-
-
};
class TextFileStream : public Stream
Namespace(void);
~Namespace(void);
};
+
+
+/*** Tokenizer.cpp ***/
+
+class Tokenizer
+{
+public:
+ Tokenizer(Stream st);
+ ~Tokenizer(void);
+};
--- /dev/null
+#include "common_cpp.h"
+
+/*
+* compile.cpp --compile tokens
+*
+* Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
+*
+* This source code is released on the BSD licensing.
+*
+*/
+
+void compile_onefile(Tokenizer tkns)
+{
+
+}
+
+
+
+
int toplev_main_cpp(int argc, const char** argv)
{
-
+ int i;
+
+ for(i = 0; i < argc; i++)
+ {
+ TextFileStream st = TextFileStream();
+ st.Load(string(argv[i]));
+ Tokenizer tk(st);
+
+ }
+
return 0;
}