2026-10-02 20:31:24 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include "expression.hpp"
|
|
|
|
|
|
|
|
|
|
namespace Parser {
|
|
|
|
|
|
2026-10-05 11:17:48 +03:00
|
|
|
std::vector<Expression::Token> tokenize_input(const char * const input_string);
|
2026-10-02 22:14:03 +03:00
|
|
|
int assert_same(const std::vector<Expression::Token>& a, const std::vector<Expression::Token>& b);
|
|
|
|
|
void print_token_vector(const std::vector<Expression::Token>& tv);
|
2026-10-05 20:24:09 +03:00
|
|
|
void print_math_vector(const std::vector<Expression::Token>& tv);
|
2026-10-12 21:59:50 +03:00
|
|
|
void print_math_vector(const std::vector<Expression::Token>& tv, const std::vector<int>& highlight_locations);
|
2026-10-02 20:31:24 +03:00
|
|
|
|
|
|
|
|
}
|