github.com/abersheeran/mingshe

A better Python. It is also a template for you to create a superset of Python.

Open this visualization on its own page →

Contributors

3

Lines of Code

263

From

2021-05-16

To

2022-04-02

About abersheeran/mingshe

MíngShé is a superset language built on top of Python that aims to provide an improved development experience while maintaining compatibility with the Python ecosystem. It uses the Pegen parser generator to compile code into standard Python, allowing developers to write in an enhanced syntax that gets translated to regular Python execution. The project is named after a mythological creature from the Chinese classic text "Classic of Mountains and Seas" and includes comprehensive documentation available in both English and Chinese.

The project requires Python 3.9 or higher and is designed as both a functional programming language in its own right and a template for others to create their own Python supersets. By leveraging Pegen's parsing capabilities, MíngShé enables syntactic extensions and improvements to the Python language while avoiding the complexity of building a completely independent implementation. The project maintains an active changelog through its releases, indicating ongoing development and refinement of the language features.

Share this video