first commit of the recode

70% of the code was re-writter from scratch
This commit is contained in:
2024-01-18 16:01:04 +01:00
commit a97fde9f86
19 changed files with 1710 additions and 0 deletions

11
tests/lib_use.c Normal file
View File

@@ -0,0 +1,11 @@
#include "../include/pasm.h"
int main(void) {
char output[1024] = {0};
FILE *memfile = fmemopen(output, sizeof(output), "w");
pasm_run_script("../examples/test.pasm", 0, 0, memfile);
fclose(memfile);
printf("%s", output);
return 0;
}