mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
add timestamp
This commit is contained in:
parent
9256186cb1
commit
01bce1daf8
@ -11,7 +11,7 @@ const _Int _Int_MAX_NEG = -9223372036854775807LL;
|
|||||||
const _Float _FLOAT_INF_POS = INFINITY;
|
const _Float _FLOAT_INF_POS = INFINITY;
|
||||||
const _Float _FLOAT_INF_NEG = -INFINITY;
|
const _Float _FLOAT_INF_NEG = -INFINITY;
|
||||||
|
|
||||||
#define PK_VERSION "0.2.0"
|
#define PK_VERSION "0.2.1"
|
||||||
|
|
||||||
class PyObject;
|
class PyObject;
|
||||||
class CodeObject;
|
class CodeObject;
|
||||||
|
@ -27,7 +27,7 @@ class REPL {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
REPL(VM* vm, bool use_prompt=true) : vm(vm), use_prompt(use_prompt) {
|
REPL(VM* vm, bool use_prompt=true) : vm(vm), use_prompt(use_prompt) {
|
||||||
vm->_stdout("pocketpy " PK_VERSION "\n");
|
vm->_stdout("pocketpy " PK_VERSION " (" __DATE__ ", " __TIME__ ")\n");
|
||||||
vm->_stdout("https://github.com/blueloveTH/pocketpy" "\n");
|
vm->_stdout("https://github.com/blueloveTH/pocketpy" "\n");
|
||||||
vm->_stdout("Type \"exit()\" to exit." "\n");
|
vm->_stdout("Type \"exit()\" to exit." "\n");
|
||||||
_loop_start();
|
_loop_start();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user