diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:03:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:03:31 -0400 |
| commit | 47d38fb5ac183180edd297830261cedd8afee2d3 (patch) | |
| tree | 2ad93b15686a9c7d94e163d9a5f46350374f4571 /src/parse/binops.h | |
| parent | 3cf0d5f0bee3787a3d46126d5c0e1310e35a7cb9 (diff) | |
Split out binops
Diffstat (limited to 'src/parse/binops.h')
| -rw-r--r-- | src/parse/binops.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parse/binops.h b/src/parse/binops.h new file mode 100644 index 00000000..95785619 --- /dev/null +++ b/src/parse/binops.h @@ -0,0 +1,8 @@ +// Logic for parsing numbers +#pragma once + +#include "../ast.h" +#include "context.h" + +ast_e match_binary_operator(const char **pos); +ast_t *parse_infix_expr(parse_ctx_t *ctx, const char *pos, int min_tightness); |
