copler files removed

This commit is contained in:
Timerix22 2022-07-21 03:01:28 +03:00
parent 354fd69681
commit cd81de9216
8 changed files with 0 additions and 82 deletions

View File

@ -1,12 +0,0 @@
#pragma once
#include "../../../kerep/src/base/base.h"
typedef struct AssemblyStruct {
} Assembly;
typedef struct AssemblyParamsStruct
{
/* data */
} AssemblyParams;

View File

@ -1,3 +0,0 @@
#include "context.h"
Autoarr_define(Context);

View File

@ -1,15 +0,0 @@
#pragma once
#include "../../../kerep/src/Autoarr/Autoarr.h"
#include "commands.h"
typedef struct ContextStruct Context;
Autoarr_declare(Context)
struct ContextStruct{
Context* parent;
Autoarr(Context) children;
Autoarr(Command) commandChain;
Autoarr(Constant) constantStack;
bool isPartial; // if true, not-defined members won't throw NotDefinedError before linkage
};

View File

@ -1,4 +0,0 @@
#pragma once
#include "comands.h"
Autoarr_define(Command);

View File

@ -1,22 +0,0 @@
#pragma once
#include "../../../kerep/src/String/string.h"
#include "../../../kerep/src/Autoarr/Autoarr.h"
typedef enum CommandId{
CommandVoid
} __attribute__((__packed__)) CommandId;
typedef struct CommandStruct Command;
struct CommandStruct{
Command* next;
Command* prev;
CommandId id;
};
Autoarr_declare(Command)
typedef struct ConstantStruct {
} Constant;
Autoarr_declare(Constant)

View File

@ -1,12 +0,0 @@
#pragma once
#include "../../../kerep/src/String/StringBuilder.h"
#include "../lexer/lexer.h"
#include "Assembly.h"
#include "Context.h"
Context* parse(Autoarr(Token)* tokens);
string genBytecode(Context* toplvl_context);
Assembly genAssembly(Autoarr(string)* compiled_contexts, AssemblyParams params);

View File

@ -1,9 +0,0 @@
#include "copler.h"
#include "../lexer/lexer.h"
int main(){
init_keywordsSearchTree();
STNode_free(keywordsSearchTree);
return 0;
}

View File

@ -1,5 +0,0 @@
#include "cobek_compiler.h"
Context parse(Autoarr(Token)* tokens){
}