Skip to content
Newer
Older
100644 25 lines (17 sloc) 363 Bytes
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
1 #ifndef RBX_ENVIRONMENT_HPP
2 #define RBX_ENVIRONMENT_HPP
3
4 #include <string>
5 #include <stdexcept>
6
43c1c3c One more cycle broken
Ryan Davis authored
7 #include "vm.hpp"
8
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
9 namespace rubinius {
10
11 class Environment {
12 public:
388b751 Wire up primitives to be resolved and executed.
Evan Phoenix authored
13 VM* state;
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
14
15 Environment();
16 ~Environment();
17
18 void load_argv(int argc, char** argv);
19 void load_directory(std::string dir);
20 void run_file(std::string path);
21 };
22 }
23
24 #endif
Something went wrong with that request. Please try again.