2015-05-28 23:19:46 +00:00
|
|
|
#include <peglib.h>
|
|
|
|
|
2015-06-02 18:17:08 +00:00
|
|
|
enum AstTag
|
2015-05-28 23:19:46 +00:00
|
|
|
{
|
2015-06-04 23:06:37 +00:00
|
|
|
Default = peglib::AstDefaultTag,
|
2015-06-04 01:16:20 +00:00
|
|
|
Statements, While, If, FunctionCall, Assignment,
|
2015-06-04 02:50:00 +00:00
|
|
|
LogicalOr, LogicalAnd, Condition, UnaryPlus, UnaryMinus, UnaryNot, BinExpresion,
|
2015-05-29 03:32:04 +00:00
|
|
|
Identifier, InterpolatedString,
|
|
|
|
Number, Boolean, Function
|
2015-05-28 23:19:46 +00:00
|
|
|
};
|
|
|
|
|
2015-05-29 01:36:29 +00:00
|
|
|
peglib::peg& get_parser();
|
2015-05-28 23:19:46 +00:00
|
|
|
|
|
|
|
// vim: et ts=4 sw=4 cin cino={1s ff=unix
|