|
Reduct
v1.0.4-3-gdaf0d70
A functional and immutable language.
|
Functions | |
| REDUCT_API reduct_handle_t | reduct_parse (reduct_t *reduct, const char *str, reduct_size_t len, const char *path) |
| Parse a Reduct string. | |
| REDUCT_API reduct_handle_t | reduct_parse_file (reduct_t *reduct, const char *path) |
| Parse a Reduct file. | |
| REDUCT_API reduct_handle_t reduct_parse | ( | reduct_t * | reduct, |
| const char * | str, | ||
| reduct_size_t | len, | ||
| const char * | path | ||
| ) |
Parse a Reduct string.
REDUCT_CATCH before calling this function.| reduct | The Reduct structure. |
| str | The Reduct string to parse, Reduct will take ownership of this string. |
| len | The length of the input string. |
| path | The path to the file being parsed (for error reporting). |
Definition at line 369 of file parse_impl.h.
| REDUCT_API reduct_handle_t reduct_parse_file | ( | reduct_t * | reduct, |
| const char * | path | ||
| ) |
Parse a Reduct file.
REDUCT_CATCH before calling this function.| reduct | The Reduct structure. |
| path | The path to the file to parse. |
Definition at line 388 of file parse_impl.h.