Aller au contenu
Bienvenue sur la nouvelle documentation de CppUtils !

Namespace: CppUtils::Language::VirtualMachine::v2

using CppUtils::Language::VirtualMachine::v2::Symbol = typedef Type::Token;
constexpr auto makeDefinition(Symbol symbol, const String::StringView auto& source) -> Container::ASTNode<typename decltype(source)::value_type>;

template <String::StringView Source, auto &&... lambdas>
constexpr auto execute(const Source& source, std::function<void(Symbol)> inspector=nullptr, Symbol instruction=' ', Context<typename Source::value_type> &&context=Context<typename Source::value_type>{ .rootAst={0uz, {makeDefinition(' ', Source{u"(r*, e?)"})}}}) -> std::expected<void, std::string_view>;