Skip to main content

Po-Lang: A robust scripting language engine with compiler, VM, persistent HTTP server, and standard library

Project description

Po-Lang Engine v2.1.2

A robust, multi-purpose scripting language with a bytecode compiler and persistent socket HTTP server.

Install

pip install po-lang-engine

Quick Start

pop run hello.po
pop repl
python -m po_lang_engine run hello.po

Web Server Example

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

Features

  • try / catch / finally, throw
  • def / fn, for / loop, while
  • Modules: json, math, net, io, sys, os, time, random
  • net.listen(port) — persistent blocking HTTP server with graceful Ctrl+C shutdown

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c5c87e3f127788ec4991ae075f277d60d44c0dff7db62e17173f57cf46ee961b
MD5 f59f25981ac7bbcb6852c17c0f915727
BLAKE2b-256 ca64a1d9fec4ebf689b246ab67228a583e0a8585272810e869af7fad262ba300

See more details on using hashes here.

File details

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

File metadata

  • Download URL: po_lang_engine-2.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b1c31f968c316d9d939d116707cc27bafc22aac630f2201a7667944e0cf0352
MD5 9b80e319fe45572d891b058f138fea4c
BLAKE2b-256 9913f9a43e13b9543c0ea80316993475c6a61928e9c105c5e1d3cf31eeaa891b

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