Mercurial > hg > orthanc-stone
annotate Deprecated/Resources/CodeGeneration/README.md @ 1463:182bf3106ee2
dos2unix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Jun 2020 07:19:31 +0200 |
parents | f6a2d46d2b76 |
children |
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 | 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 | 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 | 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 | 17 source ~/apps/emsdk/emsdk_env.sh |
18 | |
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` |