Skip to main content

Programming languages in Chinese.

Project description

zhcode

zhcode is a Python library designed to facilitate coding in Chinese. It's main purpose is to create esoteric forms of programming languages using the Chinese language.

You can install zhcode by running pip3 install zhcode in your environment.

Python

Currently, basic Python 3 functions are supported. The project is still in the process of translating library keywords, names, and functions into Chinese equivalents. In general, the syntax for coding in 中文Python is the same as that of normal Python, simply with variables switched. However, several syntactic additions have been made: the dot delimeter . in standard Python has been changed to ·, and variables should be enclosed with 「」 to facilitate easier differentiation.

Furthermore, Chinese keyboard characters often have a tendency to include extra space as part of the character—-thus oftentimes reducing the need for extra whitespace after the character. In particular, variable delimeters. Thus, there is no need to add an extra space after a closing variable delimeter ()--the translator will add one automatically.

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

zhcode-0.0.5.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file zhcode-0.0.5.tar.gz.

File metadata

  • Download URL: zhcode-0.0.5.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for zhcode-0.0.5.tar.gz
Algorithm Hash digest
SHA256 34fb5bd7a0745f6d31c6094d2299a06becfbf94b8e9a4d863e63ae47db1215f9
MD5 10e102bfe1c8e0c8064a291bd547c519
BLAKE2b-256 d65b337a4c056da3b341929f757b767c7bfd48ad563d817eab9a81b4887d6a27

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