add syntax checking with issue highlighting

This commit is contained in:
2026-10-06 21:02:40 +03:00
parent 0b97baca48
commit 65eb6cf0b1
5 changed files with 231 additions and 15 deletions
+1 -6
View File
@@ -6,12 +6,7 @@
namespace Syntax
{
struct SyntaxIssue
{
};
std::vector<SyntaxIssue> check_syntax(std::vector<Expression::Token>& tv);
int check_syntax(std::vector<Expression::Token>& tv);
void apply_corrections(std::vector<Expression::Token>& tv);
std::vector<Expression::Operation> build_op_vector(const std::vector<Expression::Token>& tv);