Giter Site home page Giter Site logo

dmikushin / commtrans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arpith20/comments-translator

0.0 1.0 0.0 58 KB

Translate comments in C, C++, Java or JavaScript source files from the command line

License: The Unlicense

Makefile 0.19% C++ 3.54% Shell 96.27%

commtrans's Introduction

Comments Translator

A tool to translate comments in the source code.

Compile

make clean
make

Usage

bin/commtrans file1 [file2 file3 ...]

After the execution of the program, the comments in file1[, file2, file3, ...] would have all been translated.

Notes

  • Internally, this uses command line translator. The script must be present in the bin/ directory and must have execute permissions. If not, download it from here and grant the permission. Also, gawk is required for the functioning of this script. To install, please run sudo apt-get install gawk
  • If you wish to translate the comments to a language other than English, modify the variable command_part1 in config.h with parameters as specified in this README.
  • By default, this tool is set up to translate C/C++/Java/JavaScript programs. Modify the parameters in config.h if you wish to translate codes which use a different syntax to identify the comments.
  • Recompile the code if any changes to config.h is made.

commtrans's People

Contributors

dmikushin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.