A collection of Python tools that can make a C developer's life a little easier, published here under MIT license.
Automatic translation from Chinese to English, meant for code files. Chinese is detected based on the symbols used, so you can easily adapt it for any other language that doesn't use the latin alphabet. The tool uses the external translation program libtranslate (all rights reserved). Translated text is added to the code as comments on the same line. Works for C and for a lot of other programming languages, and can easily be extended to include more programming languages.
Given a C file as input, this tool parses C syntax (up to a point) and outputs results to json. The main logic was transcribed from coderay's ruby code. A useful script if you want to make a tool such as an editor or a code-simplification aid. Or a Bitfieldiser!
Barebones script that takes a text file and makes an altered copy with all the special characters escaped. A simplistic but useful tool for whenever you want to programmatically create a file.