1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-16 15:09:46 +00:00

Import glob2regex

It's still missing ast optimization and some code cleanup is also
needed, but it should be working in the general case.
Also write a small unit test for it.
This commit is contained in:
King_DuckZ 2016-05-11 20:36:23 +02:00
parent cfcbcce9e9
commit 05aaaebe0d
11 changed files with 465 additions and 0 deletions

View file

@ -0,0 +1,29 @@
/* Copyright 2015, 2016, Michele Santullo
* This file is part of "dindexer".
*
* "dindexer" is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* "dindexer" is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef id4E6A756CA0A94213A90A40C567F51824
#define id4E6A756CA0A94213A90A40C567F51824
#include "glob_node_structs.hpp"
#include <vector>
#include <string>
namespace g2r {
AstType make_ast ( const std::string& parGlob );
} //namespace g2r
#endif