Add Code Generator for the QML part of a file
Needs ReviewPublic

Authored by akreuzkamp on Sep 11 2016, 11:37 AM.

Details

Reviewers
jangmarker
Summary

This revision adds a CodeGeneratorForQml class, that creates javascript code out of the QML-IR and utilizes PureJavaScriptGenerator to generate code for the js-snippets.

I decided to write a new code generator, because I the output format is completely different to what we used to have. Especially it is incompatible with our runtime. Instead it is meant to be used with the existing qmlweb1-runtime. It is more promising to use that and improve step by step. That means, the current output format, brings no advantages over interpreting (except of not needing to load the parser), but it works already.

Diff Detail

Repository
R18 QMLWeb
Branch
feature/newCodeGeneration
Lint
No Linters Available
Unit
No Unit Test Coverage
akreuzkamp updated this revision to Diff 6625.Sep 11 2016, 11:37 AM
akreuzkamp retitled this revision from to Add Code Generator for the QML part of a file.
akreuzkamp updated this object.
akreuzkamp edited the test plan for this revision. (Show Details)
akreuzkamp added a reviewer: jangmarker.
akreuzkamp set the repository for this revision to R18 QMLWeb.