aws-cdk-dsl / aws-cdk-kotlin-dsl

Kotlin DSL for AWS CDK
MIT License
32 stars 0 forks source link

How did you generate source? #2

Open thesurlydev opened 5 years ago

thesurlydev commented 5 years ago

I'm curious what the source was for the code generation and how you did the code generation?

willings commented 5 years ago

Great question :-)

It was generated based on Jsii converted java CDK. Meanwhile I'm thinking if it would be better to do codegen based on TypeScript ones.

I do have a plan to update the code generator, currently writing unit test and integration test. Will public once it's done.

thesurlydev commented 5 years ago

Thanks for reply. If you're not already using it, KotlinPoet is good for code generation.

I look forward to seeing more.

On Tue, Apr 9, 2019 at 5:12 PM yjzhang notifications@github.com wrote:

Great question :-)

It was generated based on Jsii converted java CDK. Meanwhile I'm thinking if it would be better to do codegen based on TypeScript ones.

I do have a plan to update the code generator, currently writing unit test and integration test. Will public once it's done.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aws-cdk-dsl/aws-cdk-kotlin-dsl/issues/2#issuecomment-481485616, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB4y64KWztyilBQA_Pi5SMt3FlR1tzSks5vfSx-gaJpZM4clxx_ .

-- -Shane

rcaught commented 5 years ago

Any update on this @willings? It would be great to contribute to this.

willings commented 5 years ago

@rcaught Being dog-tired recently.. But finally got two weeks holiday! Apologize for the delay.. I also saw the news on CDK's GA, so my current plan is to continue prototyping:

I'll share with folks once it's finished..

rcaught commented 5 years ago

@willings, no need to apologise. Stuff like this is really what AWS should be doing IMO, so anything you produce is just a bonus to us Kotlin users. Keen to help out if possible!