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

Uploaded Source

File details

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

File metadata

  • Download URL: zhcode-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 faf419cc6c605b34de49101473670d36af887ed87f4dfe6df94c77e44936c5c3
MD5 c7ef106f226562d9456868f31d809ac6
BLAKE2b-256 b7566c62d0636bc6fbeae1053c0914ec6e54fc4292c84f492067ef157e833b4d

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