Modules/Objects/private/parser/Private.hpp
Шурупов Илья Викторович 5eb8f75717 Objects: use oscript.g directly instead of a duplicated grammar
- Remove Grammar.cpp; CMake wraps oscript.g verbatim into a generated
  oscript.g.hpp raw-string header that Parser.cpp includes directly
- oscript grammar now has a single source of truth (oscript.g)
- AST builder handles oscript.g's actual tags: untagged empty list/script
  alternatives and the stm_break tag

All Objects tests pass.
2026-10-07 15:56:29 +03:00

13 lines
240 B
C++

#pragma once
#include "SimpleParser.hpp"
#include "compiler/Statements.hpp"
#include "compiler/Expressions.hpp"
namespace tp::obj {
using OScriptParser = tp::SimpleParser<char>;
using OScriptNode = const OScriptParser::StackItem*;
}