diff --git a/SLS_Python/sls_py/__init__.py b/SLS_Python/sls_py/__init__.py index 29117f6..a9a2aad 100644 --- a/SLS_Python/sls_py/__init__.py +++ b/SLS_Python/sls_py/__init__.py @@ -1,8 +1,6 @@ -"""sls — Python skeleton for SLS reimplementation +"""sls — Python SLS reimplementation Expose package version and small helpers here. """ -__all__ = ["__version__", "cli"] - -__version__ = "0.0.1" +__all__ = ["main"] diff --git a/SLS_Python/sls_py/interpreter.py b/SLS_Python/sls_py/interpreter.py index fc059f1..8775f96 100644 --- a/SLS_Python/sls_py/interpreter.py +++ b/SLS_Python/sls_py/interpreter.py @@ -1,16 +1,8 @@ -# sls/interpreter.py -# Kyler Olsen -# YREA SLS -# Interpreter (Python OOP port) -# November 2025 - from __future__ import annotations from dataclasses import dataclass from enum import Enum, auto from typing import Callable, Dict, List, Optional -# import the types from your lexer module -# adjust the import path to where you put the lexer module from .lexer import ( Token, TokenType, @@ -76,7 +68,7 @@ class InterpreterState: def __init__(self): self.stack: List[StackEntry] = [] self.functions: Dict[str, FunctionItem] = {} - # Optionally load builtins; caller can pass a loader function + if load_builtins is not None: ok = load_builtins(self) if not ok: diff --git a/SLS_Python/sls_py/meta.py b/SLS_Python/sls_py/meta.py index bbc95ce..8de7af0 100644 --- a/SLS_Python/sls_py/meta.py +++ b/SLS_Python/sls_py/meta.py @@ -1,8 +1,3 @@ -# Kyler Olsen -# YREA SLS -# Meta File (Python port) -# November 2025 - import sys try: from ._version import version, commit, timestamp # type: ignore