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

Uploaded Python 3

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.4.tar.gz
  • Upload date:
  • Size: 23.9 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.4.tar.gz
Algorithm Hash digest
SHA256 0040a1a3f0a3054adb45f67e4b6224f409f25a0d595caf5f7db6a3d8060d37ae
MD5 5369dcd7af610dc4fa69bc14b9d647c5
BLAKE2b-256 d40790f279a445eef2defdc6461985dfddb00b86f10583cd63f04ba002103603

See more details on using hashes here.

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 28.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a8446db3759a5d8f02e31ed6d58cd9138a061c2bb2179efe69665b0265a80a4b
MD5 a6852ae1a72e0084825480dd43e48c1d
BLAKE2b-256 fe7374523e8e67fd886a13ae6ae20e450fd0758c32a50023b9491b22d8ee309b

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