mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-25 22:10:17 +00:00
* add some clang-format offs. * add formats. * format the world. * AllowShortIfStatementsOnASingleLine * off REGION. * Rollback vm.hpp * Disable insert.
19 lines
247 B
C++
19 lines
247 B
C++
#pragma once
|
|
|
|
#include "pocketpy/interpreter/vm.hpp"
|
|
|
|
namespace pkpy {
|
|
|
|
class REPL {
|
|
protected:
|
|
int need_more_lines = 0;
|
|
std::string buffer;
|
|
VM* vm;
|
|
|
|
public:
|
|
REPL(VM* vm);
|
|
bool input(std::string line);
|
|
};
|
|
|
|
} // namespace pkpy
|