File: README

package info (click to toggle)
hare-update 0.26.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,044 kB
  • sloc: makefile: 37; sh: 14
file content (9 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
hare::parse provides a parser for Hare source code. The [[subunit]] function
will parse a single Hare source file and return a [[hare::ast::subunit]]. Other
functions provide parsers for various important Hare sub-terminals, such as
[[decls]] and [[imports]]. See the Hare specification for more details:

https://harelang.org/specification

Most of these functions require the caller to provide a Hare lexer, see
[[hare::lex::]] for details.