From bbafc914a0c52a61f2a43b15ada9d2eefcb39873 Mon Sep 17 00:00:00 2001 From: Thakee Nathees Date: Sat, 28 May 2022 15:01:17 +0530 Subject: [PATCH] adding string source to module added --- scripts/static_check.py | 6 +- src/core/compiler.c | 5 +- src/core/public.c | 7 + src/core/value.c | 7 +- src/include/pocketlang.h | 5 + src/libs/ext_term.c | 3 + .../tui/_init.pk => src/libs/ext_term.pk | 67 ++- src/libs/gen/ext_term.pk.h | 548 ++++++++++++++++++ tests/examples/snake.pk | 32 +- 9 files changed, 631 insertions(+), 49 deletions(-) rename tests/examples/tui/_init.pk => src/libs/ext_term.pk (86%) create mode 100644 src/libs/gen/ext_term.pk.h diff --git a/scripts/static_check.py b/scripts/static_check.py index 4e0e8ed..6742439 100644 --- a/scripts/static_check.py +++ b/scripts/static_check.py @@ -33,8 +33,12 @@ ALLOW_LONG_LINES = ('http://', 'https://', '