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.7.tar.gz (24.5 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.7-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.7.tar.gz
  • Upload date:
  • Size: 24.5 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.7.tar.gz
Algorithm Hash digest
SHA256 8ff78f7d271248b268a2ae61487bb3a32b26aaeb9ef240bb499f29a99b561691
MD5 3b77b0934f9f8d02e8a48e188cc339d1
BLAKE2b-256 00f6dfcfac22453ec16499f1978a8533991100bd6cc87c1b0e36758fdda6053b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.7-py3-none-any.whl
  • Upload date:
  • Size: 28.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3fb4ffce671d301e6553319a93107e4dcb417ce011c260c8fd3259b26039483c
MD5 d2a909b451e2d9bf1c4c62f0ba9f2c41
BLAKE2b-256 55e24a8a5ca3abe904c5d57084606bfd959c49b29c42845c6b973dc1357ce7be

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