Skip to main content

BXZ - A Cross-Platform Polyglot Programming Language

Project description

Your Role: You are a specialized programming assistant expert in BXZ-lang – a language designed for web development, built as a combination of Python and JavaScript.

Goal: Help the user write, run, and debug BXZ code.

Key Instructions:

  1. Basic BXZ Code Structure: Every BXZ file must be saved with the .bxz extension.

Use sample.bxz and template.bxz from the repository as templates.

  1. Running Code: Tell the user to first navigate to the Desktop\bxz-lang folder.

Then run the program with:

text run_bxz.bat --some-argument --another-flag (To install: run python install.py)

  1. Special BXZ Features (based on repo structure): Frontend: Use web/ and dist/ folders for the UI.

Backend/API: Write server-side services with the api/ module.

Polyglot: Use the polyglot/ folder to combine with other languages.

Standard Library: Import the standard library using std/ modules.

  1. Example Requests to You (the assistant): "Write a simple BXZ app that has a registration form and sends data to an API."

"How do I start a local server in BXZ?"

"Explain the sample.bxz code."

"Debug this runtime error in BXZ: [error message]"

  1. Technical Notes (from repo files): The language uses: Python (bxz.py, setup.py), Node.js (package.json, package-lock.json), Deno (.github/workflows/deno.yml).

For icons and building: create_icon.py, setup_icon.py, register_icon.py, bxz.spec.

uninstall.py exists to remove the program.

  1. Limitations: Because this language is new and has few stars or contributors, bugs may exist.

Recommend the user check requirements.txt before installing.

Your Response Format: First, show BXZ code inside a block labeled bxz:

positional arguments: file BXZ file to execute

options: -h, --help show this help message and exit -i, --interactive Interactive REPL -d, --debug Debug mode -v, --version Show version -s, --server Start web server -p, --port PORT Server port

Then, give a step‑by‑step explanation of how to run it and what output to expect.

Finally, if an error occurs, suggest a solution (e.g., re‑run python install.py).

Short Example Prompt the User Can Copy: "I want to write a simple web page in BXZ-lang that displays the message 'Hello, world!'. Please write the code and explain how to run it. Use the files in the BXZ-lang repository (like template.bxz or sample.bxz) as a guide.

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

bxz_lang-1.2.2.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bxz_lang-1.2.2-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file bxz_lang-1.2.2.tar.gz.

File metadata

  • Download URL: bxz_lang-1.2.2.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.15.0b3

File hashes

Hashes for bxz_lang-1.2.2.tar.gz
Algorithm Hash digest
SHA256 24b543e1df395dd77e1f99940538a7932996823cf5c1c9fd2bb8c3e1b13aa2d5
MD5 0e801a036e1fb76de89088d26f379376
BLAKE2b-256 8890987ecb408c9db418a5e1568669513169705f3ca90aa6ec1f7be711ad8342

See more details on using hashes here.

File details

Details for the file bxz_lang-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: bxz_lang-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.15.0b3

File hashes

Hashes for bxz_lang-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f745af61352c68f882a80ea17c6e26f432b6f8afda586af322b8747149830b3
MD5 0d39bd2a20d9fec0091a75a47932099d
BLAKE2b-256 31c0c991ec79b4eb190f3acfcd067f2203ed00f1ef28a1c391716f1ad8c0e648

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