inscript-lang 2.0.3__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/PKG-INFO +1 -1
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript.py +4 -2
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_lang.egg-info/PKG-INFO +1 -1
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/pyproject.toml +1 -1
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/repl.py +1 -1
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/README.md +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/analyzer.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/ast_nodes.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/compiler.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/environment.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/errors.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_fmt.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_lang.egg-info/SOURCES.txt +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_lang.egg-info/dependency_links.txt +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_lang.egg-info/entry_points.txt +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_lang.egg-info/requires.txt +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_lang.egg-info/top_level.txt +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/inscript_test.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/interpreter.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/lexer.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/parser.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/pygame_backend.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/setup.cfg +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/setup.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/stdlib.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/stdlib_extended.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/stdlib_extended_2.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/stdlib_game.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/stdlib_values.py +0 -0
- {inscript_lang-2.0.3 → inscript_lang-2.1.0}/vm.py +0 -0
|
@@ -24,7 +24,7 @@ from errors import (InScriptError, LexerError, ParseError,
|
|
|
24
24
|
SemanticError, InScriptRuntimeError,
|
|
25
25
|
MultiError, InScriptWarning)
|
|
26
26
|
|
|
27
|
-
VERSION = "2.0
|
|
27
|
+
VERSION = "2.1.0"
|
|
28
28
|
|
|
29
29
|
MANIFEST_FILENAME = "inscript.toml"
|
|
30
30
|
LOCK_FILENAME = "inscript.lock"
|
|
@@ -2161,7 +2161,9 @@ Examples:
|
|
|
2161
2161
|
return 0
|
|
2162
2162
|
|
|
2163
2163
|
if args.lsp:
|
|
2164
|
-
|
|
2164
|
+
import os as _os
|
|
2165
|
+
sys.path.insert(0, _os.path.dirname(_os.path.abspath(__file__)))
|
|
2166
|
+
from lsp.server import main as lsp_main
|
|
2165
2167
|
lsp_main()
|
|
2166
2168
|
return 0
|
|
2167
2169
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "inscript-lang"
|
|
7
|
-
version = "2.0
|
|
7
|
+
version = "2.1.0"
|
|
8
8
|
description = "InScript — a game-focused scripting language with 59 game modules and a bytecode VM"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -40,7 +40,7 @@ sys.path.insert(0, str(Path(__file__).parent))
|
|
|
40
40
|
|
|
41
41
|
HISTORY_FILE = Path.home() / ".inscript" / "history"
|
|
42
42
|
HISTORY_FILE.parent.mkdir(parents=True, exist_ok=True)
|
|
43
|
-
VERSION = "2.0
|
|
43
|
+
VERSION = "2.1.0"
|
|
44
44
|
|
|
45
45
|
# ── ANSI colours ──────────────────────────────────────────────────────────────
|
|
46
46
|
def _c(code, text):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|