view Resources/CodeGeneration/README.md @ 676:1b47f17863ba am-dev

codegen: using an ordereddict loader instead of sort the keys -> the delcared ordered in the yaml is preserved in the generated code which is more meaningfull than the alphabetical order
author Alain Mazy <alain@mazy.be>
date Thu, 16 May 2019 09:49:30 +0200
parents b7fd0471281c
children 342f3e04bfa9
line wrap: on
line source

Requirements
----------------

Install Node and npm.

Then:
- `npm install browserify`
- `npm install typescript`
- `npm install tsify`

`testCppHandler` contains a C++ project that produces an executable 
slurping a set of text files representing messages defined against 
the `test_data/test1.yaml' schema and dumping them to `cout`.

'testWasmIntegrated` contains a small Web app demonstrating the 
interaction between TypeScript and C++ in WASM.
source ~/apps/emsdk/emsdk_env.sh


Install Python and the following packages `pip install pyyaml yamlloader jinja2`