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

Uploaded Python 3

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.5.tar.gz
  • Upload date:
  • Size: 24.2 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.5.tar.gz
Algorithm Hash digest
SHA256 26ae84a51b642a819d031d7ce2d50461f3f2e41d41272ddcb6341a3d0875a34d
MD5 3edc9db1494418e0d8d51780e903ed7b
BLAKE2b-256 40f28249c8755b7d57c91ce1246a47a05eb498ea14444456ea75552f057be2c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.5-py3-none-any.whl
  • Upload date:
  • Size: 28.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9c08d0dffd2668f7f73a663ccb34422c998da19daee87f582c8beb68e5779439
MD5 48fce8659f87c7d7473dc4d7f16a32d9
BLAKE2b-256 f5434c2c67613160e5337dd07b2e3f2f44805f1273af23dc2c7f64bbe13260a0

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