27 lines
420 B
C++
27 lines
420 B
C++
#include <utility>
|
|
|
|
|
|
#ifndef PORYGONLANG_SCRIPT_HPP
|
|
#define PORYGONLANG_SCRIPT_HPP
|
|
|
|
#include <string>
|
|
#include "Diagnostics/Diagnostics.hpp"
|
|
|
|
using namespace std;
|
|
|
|
class Script {
|
|
explicit Script(){
|
|
Diagnostics = new class Diagnostics();
|
|
};
|
|
|
|
void Parse(string script);
|
|
public:
|
|
static Script Create(string script);
|
|
Diagnostics* Diagnostics;
|
|
|
|
~Script();
|
|
};
|
|
|
|
|
|
#endif //PORYGONLANG_SCRIPT_HPP
|