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.1.tar.gz (18.9 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.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bxz_lang-1.2.1.tar.gz
  • Upload date:
  • Size: 18.9 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.1.tar.gz
Algorithm Hash digest
SHA256 17347a0638d06a2f11d48b428ed0c397617ef3d5a572c16b3dedccbd938837b2
MD5 5d749fe5bc9f9c483af0df79a3d0ffe1
BLAKE2b-256 592895ece1813d6376487b6a8468a54b9718abc092ecfa68658577d294f18dbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bxz_lang-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 729fd0a8483edb66fa8f95652f7913da6fb99205f54ea15a73b66330314e2772
MD5 d2e553509997198d2f60c6028f249817
BLAKE2b-256 01fcb7ad51c152c0b4e1b2a43add8011878c4e48fe35d67b9d0c9751e3fd697f

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