Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A tool to generate and translate C++ code to other languages from one code-base.

Project description

ci Status
Travis Build Status

Trello Board

Simple using:

cd src

Configured launch:


    -h, --help      show this help message and exit
    -i              Path to classes configs. Default = ./config/
    -o              Out Path for classes. Default = ./out/
    -l              Used language. Supported cpp, py, php. Default = cpp
    -f              Used serialized format. Supported xml, json. Default = xml
    -side           To different side generation, used both, server, client. Default = both
    -data           Path to static data configs. Default = empty, conversion is not used
    -data_out       Out path for static data config. Default = empty
    -only_data      Flag for build only data xml. Default = no
    -protocols      Path to file with serialization protocols. Default = empty, default protocol is used
    -php_validate   Check PHP features on generate other languages. Default = yes
    -test_script    The path to the script to run the tests
    -use_colors     Using colors on outputting to the console


class core/Request<SerializedObject>
    Action action
    int int_data
    float float_data = 0
    function void some_function(){}

class - keyword

core/ - The module. Used only for grouping classes into folders for c++ generation

Request - Name of the class

SerializedObject - The inherited class. Multiple inheritance is not supported.

{ ... } - Body of the class or method

int int_data - Field of class int_data of integer type.

int float_data - Field of class float_data of float type with initialized.

function void some_function(){} - Method of the class without body

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mlc-tools, version 0.4.1028
Filename, size File type Python version Upload date Hashes
Filename, size mlc_tools-0.4.1028-py3-none-any.whl (97.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mlc-tools-0.4.1028.tar.gz (68.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page