Skip to main content

Epstein - programing language

Project description

EPSTEIN Language (Python)

EPSTEIN is a custom programming language with Python-like indentation syntax.
It is executed via a Python interpreter, allowing .epc files to be run directly.


1️⃣ Features

  • Indentation-based syntax similar to Python
  • Custom keywords mapped to runtime values
  • Built-in functions like files, risk, theory, money
  • Supports loops, conditionals, and function blocks
  • Extendable runtime with custom Python functions

2️⃣ Variable & Token Mapping

EPSTEIN Python runtime mapping
truth True
lie False
deal str
alibi None
files Runtime.files() / print
theory Runtime.theory() / float
suicide return / sys.exit
money Runtime.money() / bool
famous def
girl dict
island Runtime.island() / list
plot function block
shadow lambda / anonymous function
risk Runtime.risk() / float
secret Runtime.secret() / set
enemy dict
weapon Runtime.weapon() / list
mission Runtime.mission() / tuple
power int / float
ghost str
time int / float
light bool
government dict
universe None
circle lambda
escape break / sys.exit
crew list
plan function block
agenda dict

3️⃣ Syntax Examples

Variable assignment

deal = "Classified"
power = 9000
truth = truth

Print / Output

files "Hello world"
files deal

Conditionals

if truth:
    files "Approved"
else:
    files "Denied"

Loops

crew = ["Alice", "Bob"]

loop crew:
    files item

Equivalent Python:

for item in crew:
    print(item)

Function Blocks

plot infiltration:
    files "Inside base"

plan escape:
    files "Escape started"

4️⃣ Installation

Install via pip (once published):

pip install epstein

Or run locally:

git clone https://github.com/bloby22/EPSTEIN-language
cd epstein
python -m pip install .

5️⃣ Usage

from epstein import Interpreter, parse_file

program = parse_file("script.eps")
interpreter = Interpreter()
interpreter.execute(program)

6️⃣ Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

7️⃣ License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epstein-1.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epstein-1.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file epstein-1.0.1.tar.gz.

File metadata

  • Download URL: epstein-1.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for epstein-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f3e5375afae43d5f985c791de3a9fbcfde280d99357a43229f285a8f956109ce
MD5 7c8872b8340c0592ca4683d5836ea418
BLAKE2b-256 ae0a2ea74234c382f62c9ec5445ac460f0b2789426be0c07a21439472e207e55

See more details on using hashes here.

File details

Details for the file epstein-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: epstein-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for epstein-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fa03908b8c0422773cfdc0e6054c5298843b2342ff28fc442f62217c1978be1
MD5 1a742ed0eb3605d2665f8040a830b01b
BLAKE2b-256 f40f9c5cfd2e3cf05dc46470c242ed38a02d06fab2e5cad6ae4f730761afeb80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page