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.3.tar.gz (7.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: zhcode-0.0.3.tar.gz
  • Upload date:
  • Size: 7.0 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.3.tar.gz
Algorithm Hash digest
SHA256 8f187c917777ecdb9769798616433c81a1a12e00d25b02a597b0c15990c124f5
MD5 56054561042c7ef029cea799c44bb5eb
BLAKE2b-256 1992ae761d7c95fd0443093096dfe209ea3198302460db58747a9ddfc7f3bf1a

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