Browse Source

structuring the codebase

Nicolas Winkler 6 years ago
parent
commit
61f31b4b9a
8 changed files with 21 additions and 1 deletions
  1. 1 1
      src/makefile
  2. 20 0
      src/sem/Context.h
  3. 0 0
      src/sem/Semantic.cpp
  4. 0 0
      src/sem/Semantic.h
  5. BIN
      src/sem/Semantic.o
  6. 0 0
      src/sem/Type.cpp
  7. 0 0
      src/sem/Type.h
  8. BIN
      src/sem/Type.o

+ 1 - 1
src/makefile

@@ -5,7 +5,7 @@ CXX := clang++
 
 LLVMCONFIG := llvm-config-5.0
 
-INCLUDEDIRS := -I $(shell $(LLVMCONFIG) --includedir)
+INCLUDEDIRS := -I $(shell $(LLVMCONFIG) --includedir) -I . -I sem/
 CXXFLAGS := -std=c++17 $(INCLUDEDIRS) -w # -Wall -Wextra
 
 ifdef STATIC

+ 20 - 0
src/sem/Context.h

@@ -0,0 +1,20 @@
+#ifndef QLOW_SEM_CONTEXT_H
+#define QLOW_SEM_CONTEXT_H
+
+#include "Type.h"
+
+namespace qlow::sem
+{
+    class Context;
+}
+
+
+class qlow::sem::Context
+{
+private:
+    
+};
+
+#endif // QLOW_SEM_CONTEXT_H
+
+

+ 0 - 0
src/Semantic.cpp → src/sem/Semantic.cpp


+ 0 - 0
src/Semantic.h → src/sem/Semantic.h


BIN
src/sem/Semantic.o


+ 0 - 0
src/Type.cpp → src/sem/Type.cpp


+ 0 - 0
src/Type.h → src/sem/Type.h


BIN
src/sem/Type.o