annotate Resources/CodeGeneration/README.md @ 1199:922d2e61aa5d

RadiograpyScene: can now remove any layer + new key wrappers for Delete/Backspace
author Alain Mazy <alain@mazy.be>
date Thu, 28 Nov 2019 18:28:15 +0100
parents 342f3e04bfa9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
494
fc17251477d6 TS and CPP tests OK. Ongoing code for C++ program that reads list of serialized messages in N files. Requires conan
bgo-osimis
parents: 489
diff changeset
1 Requirements
fc17251477d6 TS and CPP tests OK. Ongoing code for C++ program that reads list of serialized messages in N files. Requires conan
bgo-osimis
parents: 489
diff changeset
2 ----------------
489
f6b7f113cf27 Ongoing work on code generation
bgo-osimis
parents:
diff changeset
3
494
fc17251477d6 TS and CPP tests OK. Ongoing code for C++ program that reads list of serialized messages in N files. Requires conan
bgo-osimis
parents: 489
diff changeset
4 Install Node and npm.
489
f6b7f113cf27 Ongoing work on code generation
bgo-osimis
parents:
diff changeset
5
494
fc17251477d6 TS and CPP tests OK. Ongoing code for C++ program that reads list of serialized messages in N files. Requires conan
bgo-osimis
parents: 489
diff changeset
6 Then:
fc17251477d6 TS and CPP tests OK. Ongoing code for C++ program that reads list of serialized messages in N files. Requires conan
bgo-osimis
parents: 489
diff changeset
7 - `npm install browserify`
fc17251477d6 TS and CPP tests OK. Ongoing code for C++ program that reads list of serialized messages in N files. Requires conan
bgo-osimis
parents: 489
diff changeset
8 - `npm install typescript`
fc17251477d6 TS and CPP tests OK. Ongoing code for C++ program that reads list of serialized messages in N files. Requires conan
bgo-osimis
parents: 489
diff changeset
9 - `npm install tsify`
489
f6b7f113cf27 Ongoing work on code generation
bgo-osimis
parents:
diff changeset
10
495
6405435480ae Fixed template to add dump capabilities + started work on an integrated TS/WASM test
bgo-osimis
parents: 494
diff changeset
11 `testCppHandler` contains a C++ project that produces an executable
6405435480ae Fixed template to add dump capabilities + started work on an integrated TS/WASM test
bgo-osimis
parents: 494
diff changeset
12 slurping a set of text files representing messages defined against
687
342f3e04bfa9 CodeGen: test cleanup + all working again + using same yaml and stimuli files
Alain Mazy <alain@mazy.be>
parents: 676
diff changeset
13 the `test_data/testTestStoneCodeGen.yaml' schema and dumping them to `cout`.
495
6405435480ae Fixed template to add dump capabilities + started work on an integrated TS/WASM test
bgo-osimis
parents: 494
diff changeset
14
6405435480ae Fixed template to add dump capabilities + started work on an integrated TS/WASM test
bgo-osimis
parents: 494
diff changeset
15 'testWasmIntegrated` contains a small Web app demonstrating the
6405435480ae Fixed template to add dump capabilities + started work on an integrated TS/WASM test
bgo-osimis
parents: 494
diff changeset
16 interaction between TypeScript and C++ in WASM.
627
b7fd0471281c fix CodeGeneration unit tests
Alain Mazy <alain@mazy.be>
parents: 495
diff changeset
17 source ~/apps/emsdk/emsdk_env.sh
b7fd0471281c fix CodeGeneration unit tests
Alain Mazy <alain@mazy.be>
parents: 495
diff changeset
18
b7fd0471281c fix CodeGeneration unit tests
Alain Mazy <alain@mazy.be>
parents: 495
diff changeset
19
676
1b47f17863ba 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
Alain Mazy <alain@mazy.be>
parents: 627
diff changeset
20 Install Python and the following packages `pip install pyyaml yamlloader jinja2`