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

Uploaded Source

File details

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

File metadata

  • Download URL: zhcode-0.0.2.tar.gz
  • Upload date:
  • Size: 6.9 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.2.tar.gz
Algorithm Hash digest
SHA256 e5571e466ae857e8833aae872f1481d51fcacdb1de560d4c542cc5a437165c56
MD5 025036f0508fc83f5af44afb035151de
BLAKE2b-256 94579af655409cea02846d73fb84ff64eb9dbb1494729571a0eb3f0ffc5094d0

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