Skip to content

VaiaPatta1985/PythonTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Tools

A collection of Python tools that can make a C developer's life a little easier, published here under MIT license.

autotranslate

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.

cparser

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!

stringify

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published