@@ -1,6 +1,7 @@
*.*
!*.py
!*.c
+!*.h
test.c
!.gitignore
!LICENSE
@@ -0,0 +1,8 @@
+#ifndef BITWISE
+#define BITWISE
+
+typedef unsigned char byte;
+byte get_bit(byte bit_array, byte index);
+#endif
@@ -0,0 +1,4 @@
+#define true 1
+#define false 0
+typedef unsigned char BOOL;
@@ -0,0 +1,6 @@
+#ifndef ELIF
+#define ELIF
+#define elif else if
+#ifndef STR
+#define STR
+#include "bool.h"
+int get_str_size(char *);
+char *get_middle(char *, int, int, BOOL);
@@ -0,0 +1,21 @@
+#ifndef TOKEN
+#define TOKEN
+#define IS_CONST 0b10000000
+typedef struct token {
+ char *value;
+ unsigned char type;
+ struct token *chain;
+} token;
+extern token *token_head;
+extern token *token_start;
+extern char *char_line;
+extern char *spec;
+extern int cursor_pos;
+int create_token_from_line(int, int, BOOL, unsigned char, BOOL);