cpp-peglib/language/parser.hpp

16 lines
365 B
C++

#include <peglib.h>
enum AstTag
{
Default = peglib::AstDefaultTag,
Statements, While, If, Call, Assignment,
Arguments, Index,
LogicalOr, LogicalAnd, Condition, UnaryPlus, UnaryMinus, UnaryNot, BinExpresion,
Identifier, InterpolatedString,
Number, Boolean, Function, Array
};
peglib::peg& get_parser();
// vim: et ts=4 sw=4 cin cino={1s ff=unix