Updated project structure. Updated README.

This commit is contained in:
Christoffer Lerno
2019-07-15 16:38:31 +02:00
parent 88b2dc547e
commit bd7c743e93
13 changed files with 19 additions and 3 deletions

View File

@@ -3,4 +3,15 @@ project(c3c C)
set(CMAKE_C_STANDARD 11)
add_executable(c3c main.c build/build_options.c build/build_options.h build/project_creation.c build/project_creation.h utils/string_utils.c utils/string_utils.h utils/file_utils.c utils/file_utils.h utils/errors.c utils/errors.h)
include_directories(
"${CMAKE_SOURCE_DIR}/src/"
"${CMAKE_SOURCE_DIR}/build/")
add_executable(c3c
src/main.c
src/build/build_options.c
src/build/project_creation.c
src/utils/errors.c
src/utils/file_utils.c
src/utils/string_utils.c
)

View File

@@ -1 +1,7 @@
# c3c
# C3 Language
This is a prototype language branched off C2. It goes further than C2 in several regards, while still embracing the goals of C2.
As of now, very little code towards the compiler will be added here.
There is a "work-in-progress" C2 compiler in C called Titanos, which an eventual compiler might be based on.

View File

@@ -9,7 +9,6 @@
#include <unistd.h>
#include "project_creation.h"
#include "build_options.h"
#include "string.h"
#include "../utils/string_utils.h"
const char* TOML =

View File