New ask Hacker News story: Ask HN: Suggestions for Building a Code Generation

Ask HN: Suggestions for Building a Code Generation
2 by patrick91 | 1 comments on Hacker News.
Hi there! I was looking into building a generic code generation tool, that would take a GraphQL schema in and would build code in Python, JavaScript, etc. I've built something like this using a template engine like Jinja, but I'm not sure if that's the best approach, part of me wants to use AST for the languages and a printer to get the AST to code, but I don't, I'm open for suggestions The idea is to also make it easy to built your own codegen output using plugins

Comments

Popular posts from this blog

New ask Hacker News story: EVM-UI – visual tool to interact with EVM-based smart contracts

How can Utilize Call Center Outsourcing for Increase your Business Income well?