mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +00:00
re-organizing muz
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
add96bc98f
commit
9e61820125
20 changed files with 73 additions and 42 deletions
1508
src/muz/fp/datalog_parser.cpp
Normal file
1508
src/muz/fp/datalog_parser.cpp
Normal file
File diff suppressed because it is too large
Load diff
48
src/muz/fp/datalog_parser.h
Normal file
48
src/muz/fp/datalog_parser.h
Normal file
|
@ -0,0 +1,48 @@
|
|||
/*++
|
||||
Copyright (c) 2010 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
datalog_parser.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Parser for Datalogish files
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2010-5-17
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _DATALOG_PARSER_H_
|
||||
#define _DATALOG_PARSER_H_
|
||||
|
||||
#include "ast.h"
|
||||
#include "dl_context.h"
|
||||
|
||||
namespace datalog {
|
||||
|
||||
class parser {
|
||||
public:
|
||||
static parser * create(context& ctx, ast_manager & ast_manager);
|
||||
|
||||
virtual ~parser() {}
|
||||
|
||||
virtual bool parse_file(char const * path) = 0;
|
||||
virtual bool parse_string(char const * string) = 0;
|
||||
};
|
||||
|
||||
class wpa_parser {
|
||||
public:
|
||||
static wpa_parser * create(context& ctx, ast_manager & ast_manager);
|
||||
|
||||
virtual ~wpa_parser() {}
|
||||
|
||||
virtual bool parse_directory(char const * path) = 0;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue