progress on variables
This commit is contained in:
parent
fab0e9846c
commit
838148dc8e
|
@ -9,6 +9,9 @@
|
|||
#include "interp.hh"
|
||||
#include "state.hh"
|
||||
|
||||
#ifndef __builtins_cc
|
||||
#define __builtins_cc
|
||||
|
||||
namespace builtin {
|
||||
class builtin {
|
||||
public:
|
||||
|
@ -47,3 +50,5 @@ static std::map<std::string, builtin::builtin*> builtins = {
|
|||
};
|
||||
|
||||
void ttest(lexi);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -2,4 +2,8 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include "state.hh"
|
||||
|
||||
#ifndef __interp_cc
|
||||
#define __interp_cc
|
||||
void interp(std::vector<lexi>, state*);
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <algorithm>
|
||||
#include <variant>
|
||||
#include <any>
|
||||
#include "state.hh"
|
||||
#ifndef __parser_cc
|
||||
#define __parser_cc
|
||||
|
||||
|
@ -42,6 +43,7 @@ class lexi {
|
|||
std::vector<object> args;
|
||||
std::string format(int);
|
||||
|
||||
lexi gen_args(state*);
|
||||
void clear();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue