Hi HN!<p>Salami is an open-source DSL that lets you declare Terraform-style configurations with natural language. The compiler uses LLM (currently GPT-4) to convert natural language into Terraform code.<p>This project's main motivation was to better integrate LLMs into the developer workflow. Salami makes it easier to program in natural language without switching and copy-pasting. It’s also more accurate than GPT-4 alone, as it can catch errors and generate code that is more likely to be correct.<p>The GitHub repo has several examples you can easily run. I also wrote a blog post and recorded a short demo video.<p>Blog post: <a href="https://www.petrgazarov.com/posts/infrastructure-as-natural-language/" rel="nofollow noreferrer">https://www.petrgazarov.com/posts/infrastructure-as-natural-...</a>
Demo video: <a href="https://www.youtube.com/watch?v=ej629E0WOIY">https://www.youtube.com/watch?v=ej629E0WOIY</a><p>Thanks for checking it out!