aboutsummaryrefslogtreecommitdiff
path: root/src/parse/binops.h
blob: 95785619084c2a7e0378a7db67bb533dbca2034c (plain)
1
2
3
4
5
6
7
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);