README (443B)
1 hare::parse provides a parser for Hare source code. The [[subunit]] function 2 will parse a single Hare source file and return a [[hare::ast::subunit]]. Other 3 functions provide parsers for various important Hare sub-terminals, such as 4 [[decls]] and [[imports]]. See the Hare specification for more details: 5 6 https://harelang.org/specification 7 8 Most of these functions require the caller to provide a Hare lexer, see 9 [[hare::lex::]] for details.