| ci | Status |
|----------|---------------------------------------------------------------------------------------------------------------------------------------------|
| Travis | [![Build Status](https://travis-ci.org/mlc-tools/mlc-tools.svg?branch=#)](https://travis-ci.org/mlc-tools/mlc-tools) |
[Trello Board](https://trello.com/b/SOlh2xPb/mlctools)
### Simple using: ###
```
cd src
python main.py
```
### Configured launch: ###
**Parameters:**
```
-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
```
### Syntax: ###
```
class core/Request<RequestBase>
{
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
```RequestBase ``` - 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
Raw data
{
"_id": null,
"home_page": "https://github.com/mlc-tools/mlc-tools",
"name": "mlc-tools",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Vladimir Tolmachev",
"author_email": "tolm_vl@hotmail.com",
"download_url": "https://files.pythonhosted.org/packages/98/40/7be45fb62447375d2bc596911ccdb62f257e52ca2625a42050af5a037ea2/mlc-tools-0.4.1126.tar.gz",
"platform": null,
"description": "| ci | Status |\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| Travis | [![Build Status](https://travis-ci.org/mlc-tools/mlc-tools.svg?branch=#)](https://travis-ci.org/mlc-tools/mlc-tools) |\n\n[Trello Board](https://trello.com/b/SOlh2xPb/mlctools)\n\n### Simple using: ###\n\n\n```\ncd src\npython main.py\n```\n\n### Configured launch: ###\n\n**Parameters:**\n```\n -h, --help show this help message and exit\n -i Path to classes configs. Default = ./config/\n -o Out Path for classes. Default = ./out/\n -l Used language. Supported cpp, py, php. Default = cpp\n -f Used serialized format. Supported xml, json. Default = xml\n -side To different side generation, used both, server, client. Default = both\n -data Path to static data configs. Default = empty, conversion is not used\n -data_out Out path for static data config. Default = empty\n -only_data Flag for build only data xml. Default = no\n -protocols Path to file with serialization protocols. Default = empty, default protocol is used\n -php_validate Check PHP features on generate other languages. Default = yes\n -test_script The path to the script to run the tests\n -use_colors Using colors on outputting to the console\n```\n\n### Syntax: ###\n\n```\nclass core/Request<RequestBase>\n{\n Action action\n int int_data\n float float_data = 0\n function void some_function(){}\n}\n```\n\n```class ``` - keyword\n\n```core/ ``` - The module. Used only for grouping classes into folders for c++ generation\n\n```Request ``` - Name of the class\n\n```RequestBase ``` - The inherited class. Multiple inheritance is not supported.\n\n```{ ... } ``` - Body of the class or method\n\n```int int_data ``` - Field of class *int_data* of integer type.\n\n```int float_data ``` - Field of class *float_data* of float type with initialized.\n\n```function void some_function(){} ``` - Method of the class without body",
"bugtrack_url": null,
"license": "",
"summary": "A tool to generate and translate C++ code to other languages from one code-base.",
"version": "0.4.1126",
"project_urls": {
"Homepage": "https://github.com/mlc-tools/mlc-tools"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "98407be45fb62447375d2bc596911ccdb62f257e52ca2625a42050af5a037ea2",
"md5": "50ba75e580f57ee6b5a35c8cc6ae394e",
"sha256": "a8370b190238b403fc48ae39975e9eb13121a17ae85f8615a6863684669029df"
},
"downloads": -1,
"filename": "mlc-tools-0.4.1126.tar.gz",
"has_sig": false,
"md5_digest": "50ba75e580f57ee6b5a35c8cc6ae394e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 105990,
"upload_time": "2024-02-14T05:12:24",
"upload_time_iso_8601": "2024-02-14T05:12:24.257777Z",
"url": "https://files.pythonhosted.org/packages/98/40/7be45fb62447375d2bc596911ccdb62f257e52ca2625a42050af5a037ea2/mlc-tools-0.4.1126.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-14 05:12:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mlc-tools",
"github_project": "mlc-tools",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "mlc-tools"
}