Aspidites

raw JSON →
1.16.1 verified Fri May 01 auth: no python

Aspidites is the reference implementation of the Woma language, a Python-based programming language. Current version is 1.16.1. Release cadence is irregular.

pip install aspidites
error ModuleNotFoundError: No module named 'Aspidites'
cause Incorrect import casing; Python is case-sensitive.
fix
Use 'import aspidites' (lowercase).
error AttributeError: module 'aspidites' has no attribute 'compile'
cause The top-level package does not expose a compile function; use Compiler class.
fix
Use 'from aspidites import Compiler' then 'compiler = Compiler(); compiler.compile(code)'.
error ImportError: cannot import name 'Transpiler' from 'aspidites'
cause Transpiler might not exist in older versions or its import path changed.
fix
Check documentation or use Compiler instead.
breaking Aspidites is a language implementation; API can break with major versions.
fix Pin to minor version and test thoroughly.
gotcha The package name on PyPI is 'aspidites' (lowercase). Do not use uppercase 'Aspidites'.
fix Use 'pip install aspidites' (lowercase).
deprecated Some old examples may import from 'aspidites.core'. That module may be removed in future.
fix Prefer importing from top-level aspidites.

Compile a simple Woma program using the Compiler class.

from aspidites import Compiler

code = """
welcome "Hello, World!"
"""
compiler = Compiler()
try:
    result = compiler.compile(code)
    print(result)
except Exception as e:
    print(f"Error: {e}")