pcolby / smithy-qt

Smithy code generator for Qt

Home Page:https://pcolby.github.io/smithy-qt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smithy Qt

Build Status Static Analysis Documentation

Smithy Qt is (or will be, eventually) two things:

  1. QtSmithy - a cross-platform naitve Qt library for reading Smithy models; and
  2. smithy-qt - a cross-platform CLI tool for rendering text files in response to Smithy models.

Smithy Qt is written in Qt, and optimised for generating Qt code (specifically for replacing QtAws's bespoke code generator), but by using the generic Grantlee templating engine, could be used to generate code (or indeed non-code) for any language or technology.

graph LR
  model(["Smithy Model"]) --QtSmithy--> smithy-qt("smithy-qt")
  templates(["Grantlee<br/>Templates"]) --Grantlee--> smithy-qt
  smithy-qt --Grantlee--> output(["Rendered Files"])
Loading
graph LR
  model(["Amazon's<br/>AWS Models"]) --> smithy-qt("smithy-qt")
  templates(["qt-aws-sdk<br/>Templates"]) --> smithy-qt
  smithy-qt --> output(["Generated Code"]) --> aws-sdk-qt["AWS SDK for Qt"]
  code(["Handwritten Code"]) --> aws-sdk-qt

  classDef aws-sdk-qt fill:lightgreen,stroke:green
  class templates,code,aws-sdk-qt aws-sdk-qt
  style model fill:orange,stroke:darkorange
Loading

About

Smithy code generator for Qt

https://pcolby.github.io/smithy-qt/

License:GNU General Public License v3.0


Languages

Language:C++ 92.0%Language:CMake 5.4%Language:C 1.5%Language:Shell 1.1%