Expose parser for external api
This commit is contained in:
@@ -131,6 +131,8 @@ GroundArg groundCreateReference(GroundArgType type, char* ref);
|
|||||||
|
|
||||||
GroundValue groundCreateValue(GroundValueType type, ...);
|
GroundValue groundCreateValue(GroundValueType type, ...);
|
||||||
|
|
||||||
|
GroundProgram groundParseFile(const char* code);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -86,3 +86,7 @@ void groundPrintProgram(GroundProgram* program) {
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GroundProgram groundParseFile(const char* code) {
|
||||||
|
return parseFile(code);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user