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