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.3.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.3-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 5b3e8f9c20774edeb35aefe1026d360e2f9569ead6aaf97dc098db9ef1e7d6e8
MD5 395d990ed44c7a0197a56ab14dfb51d1
BLAKE2b-256 ee5397524a5982e875ed2989459102820a78842aabacce57d3af46deaed149c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a8cf2bdabeb1058e87db004dbfb25988c6b0260ee226c9ae168758f9e773122a
MD5 1e11c433693a0531a2d4d7819a644087
BLAKE2b-256 f43d6b503cd7be5a133aab55ff861fb6acf28bfcd97f09a0fa55ded947870c5b

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