updated makefile. Now the noja interpreter is build as a library and then linked to the cli
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "libnoja/noja.h"
|
||||
#include "../noja/noja.h"
|
||||
|
||||
static const char usage[] =
|
||||
"Usage patterns:\n"
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
typedef struct NOJA_Executable NOJA_Executable;
|
||||
char *NOJA_disassemble(NOJA_Executable *exe);
|
||||
NOJA_Executable *NOJA_assembleString(const char *str);
|
||||
NOJA_Executable *NOJA_assembleFile(const char *file);
|
||||
NOJA_Executable *NOJA_compileString(const char *str);
|
||||
NOJA_Executable *NOJA_compileFile(const char *file);
|
||||
bool NOJA_compareExecutables(NOJA_Executable *exe1, NOJA_Executable *exe2);
|
||||
Reference in New Issue
Block a user