diff --git a/include/compiler/treeifier/ast.hh b/include/compiler/treeifier/ast.hh index 76a8c1d..ba6eb11 100644 --- a/include/compiler/treeifier/ast.hh +++ b/include/compiler/treeifier/ast.hh @@ -38,4 +38,6 @@ namespace ppc::comp::tree::ast { group_parser_t(); }; + + extern const constr_parser_t &glob_parser; } \ No newline at end of file diff --git a/src/compiler/treeifier/parsers/glob.cc b/src/compiler/treeifier/parsers/glob.cc new file mode 100644 index 0000000..bd30023 --- /dev/null +++ b/src/compiler/treeifier/parsers/glob.cc @@ -0,0 +1,11 @@ +#include "compiler/treeifier/ast.hh" + +namespace ppc::comp::tree::ast { + class glob_parser_t : public constr_parser_t { + bool parse(messages::msg_stack_t &messages, vec_slice_t &tokens, data::map_t &out) { + + } + }; + + const constr_parser_t &glob_parser = glob_parser_t(); +}