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.0.tar.gz (14.5 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.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bxz_lang-1.2.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for bxz_lang-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d4720a1605d37afe958381b4f588da57b2c5b8455034e30609bd73d6c485a48b
MD5 74dc33e955f1138ba321db0c67681768
BLAKE2b-256 54626fd9a8531cdab483c6a1084be095fd13129585055b0f8e883a56d3bee63a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bxz_lang-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 574e2f9fef6a9f569fdf0d89b5d8ca6966dd1cb48df874eda246bd1954a05c23
MD5 6b41d320a3584e95381074dfcc20ddba
BLAKE2b-256 4986d52988ca9bff423e5630c98e6b2d16fdc00febad695d9d6cff0bd497f28b

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