Skip to main content

Po-Lang — A high-performance, Python-inspired programming language engine

Project description

Po-Lang Engine

A high-performance, Python-inspired programming language with a bytecode VM.

Install

pip install po-lang

Usage

po run script.po

Features

  • Lexer, Parser, Compiler, Bytecode VM
  • Standard library: io, math, json, net, sys
  • HTTP server with routing (net.listen)
  • Foreign Function Interface (FFI)

HTTP Server Example

use net

keep server = net.listen(8080)
server["route"]("GET", "/", fn(req) { return "<h1>Hello from Po-Lang!</h1>" })
server["start"]()

Version

2.1.3 — Fixes: HTTP routing resolution, SO_REUSEADDR port reuse, proper HTTP header parsing.

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

po_lang_engine-2.1.6.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

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

po_lang_engine-2.1.6-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file po_lang_engine-2.1.6.tar.gz.

File metadata

  • Download URL: po_lang_engine-2.1.6.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for po_lang_engine-2.1.6.tar.gz
Algorithm Hash digest
SHA256 0c9914858241d9be5f7eaa1d545705c89a7d469e2cf31ac96cf0702f1e6089a6
MD5 3b5d973f0cbddd98df72195489464786
BLAKE2b-256 a0de8147c153e690d380e2d8a4a75dc0e99f0b0086a63136d2c4c9c116818fa3

See more details on using hashes here.

File details

Details for the file po_lang_engine-2.1.6-py3-none-any.whl.

File metadata

  • Download URL: po_lang_engine-2.1.6-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for po_lang_engine-2.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa5fc6306f2fcbbea856c0d650512a27462192e8d8c0da4f70ee4e10e7b32df
MD5 67ce38f6f88b3649d90379ffdf0f7806
BLAKE2b-256 d7ae75b54fdc750805f796d79d55be88186d5938a393c9c628726f23fcea48c4

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