mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
move headers
This commit is contained in:
parent
5f561d4d97
commit
967c48d91f
@ -2,7 +2,7 @@ with open("src/opcodes.h", "rt", encoding='utf-8') as f:
|
|||||||
OPCODES_TEXT = f.read()
|
OPCODES_TEXT = f.read()
|
||||||
|
|
||||||
pipeline = [
|
pipeline = [
|
||||||
["str.h", "builtins.h", "error.h"],
|
["__stl__.h", "str.h", "builtins.h", "error.h"],
|
||||||
["obj.h", "iter.h", "parser.h", "pointer.h", "codeobject.h"],
|
["obj.h", "iter.h", "parser.h", "pointer.h", "codeobject.h"],
|
||||||
["vm.h", "compiler.h"],
|
["vm.h", "compiler.h"],
|
||||||
["pocketpy.h"]
|
["pocketpy.h"]
|
||||||
|
18
src/__stl__.h
Normal file
18
src/__stl__.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <sstream>
|
||||||
|
#include <regex>
|
||||||
|
#include <unordered_map>
|
||||||
|
#include <memory>
|
||||||
|
#include <variant>
|
||||||
|
#include <functional>
|
||||||
|
#include <stack>
|
||||||
|
#include <cmath>
|
||||||
|
#include <stdexcept>
|
||||||
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
#include <cstring>
|
||||||
|
#include <chrono>
|
||||||
|
#include <string_view>
|
||||||
|
#include <queue>
|
||||||
|
#include <iomanip>
|
@ -1,9 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
#include <cstring>
|
|
||||||
|
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "vm.h"
|
#include "vm.h"
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string>
|
#include "__stl__.h"
|
||||||
#include <vector>
|
|
||||||
#include <stdexcept>
|
|
||||||
|
|
||||||
#include "str.h"
|
#include "str.h"
|
||||||
|
|
||||||
class NeedMoreLines {
|
class NeedMoreLines {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#include <chrono>
|
|
||||||
#include "pocketpy.h"
|
#include "pocketpy.h"
|
||||||
|
|
||||||
//#define PK_DEBUG_TIME
|
//#define PK_DEBUG_TIME
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <unordered_map>
|
#include "__stl__.h"
|
||||||
#include <memory>
|
|
||||||
#include <variant>
|
|
||||||
#include <functional>
|
|
||||||
#include <stack>
|
|
||||||
#include <cmath>
|
|
||||||
#include <stdexcept>
|
|
||||||
|
|
||||||
#include "str.h"
|
#include "str.h"
|
||||||
|
|
||||||
typedef int64_t _Int;
|
typedef int64_t _Int;
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string_view>
|
|
||||||
#include <cstring>
|
|
||||||
#include <queue>
|
|
||||||
|
|
||||||
#include "obj.h"
|
#include "obj.h"
|
||||||
|
|
||||||
typedef uint8_t _TokenType;
|
typedef uint8_t _TokenType;
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
#include "vm.h"
|
#include "vm.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
|
|
||||||
#include <iomanip>
|
|
||||||
#include <cmath>
|
|
||||||
#include <chrono>
|
|
||||||
|
|
||||||
#define PK_VERSION "0.2.0"
|
#define PK_VERSION "0.2.0"
|
||||||
|
|
||||||
#define BIND_NUM_ARITH_OPT(name, op) \
|
#define BIND_NUM_ARITH_OPT(name, op) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user