about summary refs log tree commit diff
path: root/net/crimp/src/lib.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-02-27T14·38+0200
committertazjin <mail@tazj.in>2021-02-27T19·22+0000
commit1d3d9d32e34c72c84ff72af4583f83d7105bdb98 (patch)
tree98a133b47c9cf06d7fb1b50197c6b370efd5cd9d /net/crimp/src/lib.rs
parentb13a6736ddf87e9689a207d5980dd28b9aa83dd4 (diff)
feat(tazjin/rlox): Set up precedence parsing scaffolding r/2239
Defines a new precedence levels enum which can be used to restrict the
parser precedence in any given location. As an example, unary
expressions and grouping are implemented, as these have a different
precedence from e.g. expression()

Change-Id: I91f299fc77530f76c3aba717f638985428104ee5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2558
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'net/crimp/src/lib.rs')
0 files changed, 0 insertions, 0 deletions