Skip to main content

Xulang: a minimalist programming language with no rules to memorize. Dedicated to my dear little mouse.

Project description

Xulang

Xulang: an ultra-minimalist programming language with zero memorization of syntax required.

Introduction

Zhizhi is a lovely mouse-musume. Since she dislikes memorizing grammar rules, Miaomiao designed a programming language for her that requires almost no grammar memorization. If you want to learn how to write Xulang code, See https://github.com/GGN-2015/py_xulang/blob/main/document/guide.md.

Install

pip install xulang

Usage

# xulang interactive CLI
python3 -m xulang

# run file
python3 -m xulang <filepath.xu>

# run file with include_path
python3 -m xulang -I <include_path>

# use --verbose to see matching process
python3 -m xulang --verbose

Program Examples

See ./sample_code/*.xu on https://github.com/GGN-2015/py_xulang.

Standard Library

See ./xulang/include/Std/*.xu on https://github.com/GGN-2015/py_xulang. It's not necessary to use standard library since most of ther utilities can be easily mannually implemented, they just come as examples.

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

xulang-0.6.2.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

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

xulang-0.6.2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file xulang-0.6.2.tar.gz.

File metadata

  • Download URL: xulang-0.6.2.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11

File hashes

Hashes for xulang-0.6.2.tar.gz
Algorithm Hash digest
SHA256 9b646690b6dabb7aaf5606a443dc453d90c2825168b096554f0ddd6868f0de23
MD5 af268a6cc8ff7e7828bb0c06b55bc711
BLAKE2b-256 5aa39fe6bd406add81cb2099b52bcce97ee14f12696d7e833dfb96e419dd0118

See more details on using hashes here.

File details

Details for the file xulang-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: xulang-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11

File hashes

Hashes for xulang-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ca19529d74441f30438dbe01d029f6bfc9e4008e87a69ea90c9f24bdd82cc2c
MD5 57a01f1b78bdf691ea1e27da4f24ec19
BLAKE2b-256 d5bd634b0e66966d94d938a7f2353420ede285225c2aa721eef426a92db52c67

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