shell-lite 0.5.3.3__tar.gz → 0.5.3.4__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.
Files changed (29) hide show
  1. {shell_lite-0.5.3.3/shell_lite.egg-info → shell_lite-0.5.3.4}/PKG-INFO +4 -4
  2. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/README.md +3 -3
  3. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/pyproject.toml +1 -1
  4. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/interpreter.py +11 -1
  5. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/main.py +2 -2
  6. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4/shell_lite.egg-info}/PKG-INFO +4 -4
  7. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/LICENSE +0 -0
  8. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/setup.cfg +0 -0
  9. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/setup.py +0 -0
  10. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/__init__.py +0 -0
  11. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/ast_nodes.py +0 -0
  12. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/cli.py +0 -0
  13. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/compiler.py +0 -0
  14. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/js_compiler.py +0 -0
  15. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/lexer.py +0 -0
  16. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/parser.py +0 -0
  17. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/parser_gbp.py +0 -0
  18. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite/runtime.py +0 -0
  19. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite.egg-info/SOURCES.txt +0 -0
  20. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite.egg-info/dependency_links.txt +0 -0
  21. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite.egg-info/entry_points.txt +0 -0
  22. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite.egg-info/requires.txt +0 -0
  23. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/shell_lite.egg-info/top_level.txt +0 -0
  24. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/tests/test_gbp_standalone.py +0 -0
  25. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/tests/test_interpreter.py +0 -0
  26. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/tests/test_lexer.py +0 -0
  27. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/tests/test_parser.py +0 -0
  28. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/tests/test_phase1.py +0 -0
  29. {shell_lite-0.5.3.3 → shell_lite-0.5.3.4}/tests/test_stdlib.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: shell-lite
3
- Version: 0.5.3.3
3
+ Version: 0.5.3.4
4
4
  Summary: A lightweight, English-like scripting language.
5
5
  Home-page: https://github.com/Shrey-N/ShellDesk
6
6
  Author: Shrey Naithani
@@ -21,8 +21,8 @@ Requires-Dist: prompt_toolkit>=3.0.0
21
21
 
22
22
  ShellLite is a modern programming language designed to prioritize human readability. It replaces complex syntax with natural English commands, making software development accessible and maintainable. With version 0.05.0, ShellLite now supports native compilation via LLVM alongside its interpreted mode.
23
23
 
24
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
25
- [![Version](https://img.shields.io/badge/version-0.05.0-green.svg)]()
24
+ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3--with--classpath--exception-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
25
+ [![Version](https://img.shields.io/badge/version-0.5.3.2-green.svg)]()
26
26
 
27
27
  ---
28
28
 
@@ -469,7 +469,7 @@ See [SECURITY.md](SECURITY.md) for reporting security vulnerabilities.
469
469
 
470
470
  ## License
471
471
 
472
- MIT License - See [LICENSE](LICENSE) for details.
472
+ GNU GPL V3 With Class Exception License - See [LICENSE](LICENSE) for details.
473
473
 
474
474
  ---
475
475
 
@@ -6,8 +6,8 @@
6
6
 
7
7
  ShellLite is a modern programming language designed to prioritize human readability. It replaces complex syntax with natural English commands, making software development accessible and maintainable. With version 0.05.0, ShellLite now supports native compilation via LLVM alongside its interpreted mode.
8
8
 
9
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
10
- [![Version](https://img.shields.io/badge/version-0.05.0-green.svg)]()
9
+ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3--with--classpath--exception-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
10
+ [![Version](https://img.shields.io/badge/version-0.5.3.2-green.svg)]()
11
11
 
12
12
  ---
13
13
 
@@ -454,7 +454,7 @@ See [SECURITY.md](SECURITY.md) for reporting security vulnerabilities.
454
454
 
455
455
  ## License
456
456
 
457
- MIT License - See [LICENSE](LICENSE) for details.
457
+ GNU GPL V3 With Class Exception License - See [LICENSE](LICENSE) for details.
458
458
 
459
459
  ---
460
460
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "shell-lite"
7
- version = "0.5.3.3"
7
+ version = "0.5.3.4"
8
8
  description = "A lightweight, English-like scripting language."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -1396,6 +1396,16 @@ class Interpreter:
1396
1396
  class ReusableHTTPServer(ThreadingHTTPServer):
1397
1397
  allow_reuse_address = True
1398
1398
  daemon_threads = True
1399
+
1400
+ def handle_error(self, request, client_address):
1401
+ # Suppress output for connection resets (common with browser disconnects)
1402
+ try:
1403
+ _, exc, _ = sys.exc_info()
1404
+ if isinstance(exc, (ConnectionResetError, BrokenPipeError)):
1405
+ return
1406
+ except:
1407
+ pass
1408
+ super().handle_error(request, client_address)
1399
1409
  class ShellLiteHandler(BaseHTTPRequestHandler):
1400
1410
  def log_message(self, format, *args): pass
1401
1411
  def do_GET(self):
@@ -1503,7 +1513,7 @@ class Interpreter:
1503
1513
  self.wfile.write(str(e).encode())
1504
1514
  except: pass
1505
1515
  server = ReusableHTTPServer(('0.0.0.0', port_val), ShellLiteHandler)
1506
- print(f"\n ShellLite Server v0.5.3.2 is running!")
1516
+ print(f"\n ShellLite Server v0.5.3.4 is running!")
1507
1517
  print(f" \u001b[1;36m➜\u001b[0m Local: \u001b[1;4;36mhttp://localhost:{port_val}/\u001b[0m\n")
1508
1518
  try: server.serve_forever()
1509
1519
  except KeyboardInterrupt:
@@ -150,7 +150,7 @@ def install_globally():
150
150
  return
151
151
  ps_cmd = f'$oldPath = [Environment]::GetEnvironmentVariable("Path", "User"); if ($oldPath -notlike "*ShellLite*") {{ [Environment]::SetEnvironmentVariable("Path", "$oldPath;{install_dir}", "User") }}'
152
152
  subprocess.run(["powershell", "-Command", ps_cmd], capture_output=True)
153
- print(f"\n[SUCCESS] ShellLite (v0.5.3.2) is installed!")
153
+ print(f"\n[SUCCESS] ShellLite (v0.5.3.3) is installed!")
154
154
  print(f"Location: {install_dir}")
155
155
  print("\nIMPORTANT STEP REQUIRED:")
156
156
  print("1. Close ALL open terminal windows (CMD, PowerShell, VS Code).")
@@ -448,7 +448,7 @@ def main():
448
448
  from importlib.metadata import version
449
449
  print(f"ShellLite v{version('shell-lite')}")
450
450
  except Exception:
451
- print("ShellLite v0.5.3.1")
451
+ print("ShellLite v0.5.3.3")
452
452
  elif cmd == "get":
453
453
  if len(sys.argv) > 2:
454
454
  package_name = sys.argv[2]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: shell-lite
3
- Version: 0.5.3.3
3
+ Version: 0.5.3.4
4
4
  Summary: A lightweight, English-like scripting language.
5
5
  Home-page: https://github.com/Shrey-N/ShellDesk
6
6
  Author: Shrey Naithani
@@ -21,8 +21,8 @@ Requires-Dist: prompt_toolkit>=3.0.0
21
21
 
22
22
  ShellLite is a modern programming language designed to prioritize human readability. It replaces complex syntax with natural English commands, making software development accessible and maintainable. With version 0.05.0, ShellLite now supports native compilation via LLVM alongside its interpreted mode.
23
23
 
24
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
25
- [![Version](https://img.shields.io/badge/version-0.05.0-green.svg)]()
24
+ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3--with--classpath--exception-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
25
+ [![Version](https://img.shields.io/badge/version-0.5.3.2-green.svg)]()
26
26
 
27
27
  ---
28
28
 
@@ -469,7 +469,7 @@ See [SECURITY.md](SECURITY.md) for reporting security vulnerabilities.
469
469
 
470
470
  ## License
471
471
 
472
- MIT License - See [LICENSE](LICENSE) for details.
472
+ GNU GPL V3 With Class Exception License - See [LICENSE](LICENSE) for details.
473
473
 
474
474
  ---
475
475
 
File without changes
File without changes
File without changes