Skip to main content

A basic programming lang written in Python

Project description

███████╗ ██████╗  ██████╗
██╔════╝██╔════╝ ██╔════╝
█████╗  ██║  ███╗██║  ███╗
██╔══╝  ██║   ██║██║   ██║
███████╗╚██████╔╝╚██████╔╝
╚══════╝ ╚═════╝  ╚═════╝

A basic interpreted programming language built with Python.


📚 Documentation

Everything you need to learn, understand, and contribute to EggLang.

📖 Topic Description
📘 Language Syntax Learn the language grammar, keywords, data types, operators, built-in functions, and syntax.
🏗️ Architecture Overview Explore how EggLang works internally, from lexing and parsing to AST evaluation and runtime execution.
💻 Example Programs Browse small example programs that demonstrate EggLang's syntax and common language features.
🧪 Testing Guide Review the project's test suite and the cases used to validate language features.
🤝 Contributing Guide Learn how to contribute, report issues, and submit improvements.

Introduction

A basic programming language with support for common functionality like loops, variables, and data types. It just doesn't have OOP / classes.


📦 Installation

EggLang is published on PyPI, so you can install the interpreter with a single command — no advanced setup needed.

Requirements: Python and pip.

pip install egglang

After installation, verify it by running:

egg --v

or

egg --version

Both will print the EGG logo.

Now you can run simple .egg files.

Note: a lot of functionality isn't implemented yet, since most of the effort so far has gone into the interpreter itself. That's why there's no CLI editor to test code directly in the terminal yet.


🚀 Quick Start

Once you've installed the interpreter, you can start running EGG code right away.

Create a simple .egg file and write your EGG code in it. Here's a "Hello, World!" example:

show("Hello, World!")

Save the file, open a terminal in that file's directory, and run:

egg run file.egg

Your EGG code will run smoothly.

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

egglang-2.0.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

egglang-2.0.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file egglang-2.0.0.tar.gz.

File metadata

  • Download URL: egglang-2.0.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for egglang-2.0.0.tar.gz
Algorithm Hash digest
SHA256 017b4723e29e985f8a78ed06e06644b3059b6d4216897baf1af7feabc4c2124f
MD5 28d261021b5f0ec61937ca5f2038f152
BLAKE2b-256 e4f7838b2fb108bcfab9c21be49c1182bdbb2b3ffbaeef4139b177be971981a6

See more details on using hashes here.

File details

Details for the file egglang-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: egglang-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for egglang-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c55997505eb86db3c3a2696967c544ddc3026e703097e8924debe0fd685cb93
MD5 1169ab3a233cf2579e6495c0e6f8be63
BLAKE2b-256 c6de0bdb8e15bad0f354f11225be0a747f5351d2e9bc45332fffd5a425d5d405

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