Skip to content

Comment on Ask HN: What useful internal tools or libraries have you built in your company?parent

Comments

This is great! We're working on code generation from class definitions right now.

Any good resources worth looking at?

I started by checking how you can write HTML using Kotlin DSL. Here is the source code https://github.com/Kotlin/kotlinx.html

Now, I have to generate different languages once the DSL is finalized. To achieve this I use Flask framework architecture. There we have routes with HTML templates. Here each generator has its own templates.

Not familiar with GPs use case but TypeScript has a glorious compiler API that could handle the heavy lifting here.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.