Ben Chuanlong Du's Blog

It is never too late to learn.

Generating Completions Script Using crazy-complete

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are many tools for generating completion scripts for shell languages (bash, zsh, fish, etc), crazy-complete is one of the best among such tools.

ldc -h | crazy-complete --input-type=help …

Parser Generators

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

pest

Pest is a general purpose parser written in Rust with a focus on accessibility, correctness, and performance. It uses parsing expression grammars (PEG) as input, which are similar in spirit …

Tips on mkdocs

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://github.com/mkdocs/mkdocs

https://pypi.org/project/mkdocs-blog-plugin/

https://ddrscott.github.io/blog/2018/move-to-mkdocs/

https://github.com/danielfrg/mkdocs-jupyter