News for hackers. Stuff that matters.
Re:Ask HN: What useful internal tools or libraries have you ... by s66qnf92 on Tuesday April 16, 2019 @03:33AM (#19671803)
This is great! We're working on code generation from class definitions right now.

Any good resources worth looking at?

Re:Ask HN: What useful internal tools or libraries have you ... by rahulrrixe on Tuesday April 16, 2019 @04:06AM (#19671941)
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.

Re:Ask HN: What useful internal tools or libraries have you ... by ioddly on Tuesday April 16, 2019 @03:10PM (#19676386)
Not familiar with GPs use case but TypeScript has a glorious compiler API that could handle the heavy lifting here.