LLM generated parsers and compliance checkers for Sparrow DSL
Hi I believe LLM are really cool in generating DSL code. If one provides well structured and clear prompt. I am the author of Sparrow ( https://ift.tt/mW4jdYo ) DSL for text parsing and automation with SDK for many programming languages , and I am really impressed how well deep seek generates parsers and compliance checkers for different configuration files - sudoers, sshd, redis, forgejo to name a few. Here are just some examples: - forgejo - https://ift.tt/gt9pNIO - redis - https://ift.tt/PZ1hvAi - sshd - https://ift.tt/Cw3tv6y - sudoers - https://ift.tt/Pyh7UoB Here are two prompts I use : - With Python SDK - https://gist.github.com/melezhik/d57132c9d3ba0ae9cee30a7c04c98399 - With Raku SDK - https://gist.github.com/melezhik/6f25775aab9f5ec2e22f1193e7ca824b You may choose any of them replace words sshd/forgejo by any word of your interest and try it out with free deep seek chat bot, expert level with browser, have fun PS you’d better try Raku SDK prompt as it handles configuration files with logical groups ( ini style ) as well , but you can easily modify the Python one by stealing the phrasing from Raku prompt 0 comments on Hacker News.
Hi I believe LLM are really cool in generating DSL code. If one provides well structured and clear prompt. I am the author of Sparrow ( https://ift.tt/mW4jdYo ) DSL for text parsing and automation with SDK for many programming languages , and I am really impressed how well deep seek generates parsers and compliance checkers for different configuration files - sudoers, sshd, redis, forgejo to name a few. Here are just some examples: - forgejo - https://ift.tt/gt9pNIO - redis - https://ift.tt/PZ1hvAi - sshd - https://ift.tt/Cw3tv6y - sudoers - https://ift.tt/Pyh7UoB Here are two prompts I use : - With Python SDK - https://gist.github.com/melezhik/d57132c9d3ba0ae9cee30a7c04c98399 - With Raku SDK - https://gist.github.com/melezhik/6f25775aab9f5ec2e22f1193e7ca824b You may choose any of them replace words sshd/forgejo by any word of your interest and try it out with free deep seek chat bot, expert level with browser, have fun PS you’d better try Raku SDK prompt as it handles configuration files with logical groups ( ini style ) as well , but you can easily modify the Python one by stealing the phrasing from Raku prompt
Hi I believe LLM are really cool in generating DSL code. If one provides well structured and clear prompt. I am the author of Sparrow ( https://ift.tt/mW4jdYo ) DSL for text parsing and automation with SDK for many programming languages , and I am really impressed how well deep seek generates parsers and compliance checkers for different configuration files - sudoers, sshd, redis, forgejo to name a few. Here are just some examples: - forgejo - https://ift.tt/gt9pNIO - redis - https://ift.tt/PZ1hvAi - sshd - https://ift.tt/Cw3tv6y - sudoers - https://ift.tt/Pyh7UoB Here are two prompts I use : - With Python SDK - https://gist.github.com/melezhik/d57132c9d3ba0ae9cee30a7c04c98399 - With Raku SDK - https://gist.github.com/melezhik/6f25775aab9f5ec2e22f1193e7ca824b You may choose any of them replace words sshd/forgejo by any word of your interest and try it out with free deep seek chat bot, expert level with browser, have fun PS you’d better try Raku SDK prompt as it handles configuration files with logical groups ( ini style ) as well , but you can easily modify the Python one by stealing the phrasing from Raku prompt 0 comments on Hacker News.
Hi I believe LLM are really cool in generating DSL code. If one provides well structured and clear prompt. I am the author of Sparrow ( https://ift.tt/mW4jdYo ) DSL for text parsing and automation with SDK for many programming languages , and I am really impressed how well deep seek generates parsers and compliance checkers for different configuration files - sudoers, sshd, redis, forgejo to name a few. Here are just some examples: - forgejo - https://ift.tt/gt9pNIO - redis - https://ift.tt/PZ1hvAi - sshd - https://ift.tt/Cw3tv6y - sudoers - https://ift.tt/Pyh7UoB Here are two prompts I use : - With Python SDK - https://gist.github.com/melezhik/d57132c9d3ba0ae9cee30a7c04c98399 - With Raku SDK - https://gist.github.com/melezhik/6f25775aab9f5ec2e22f1193e7ca824b You may choose any of them replace words sshd/forgejo by any word of your interest and try it out with free deep seek chat bot, expert level with browser, have fun PS you’d better try Raku SDK prompt as it handles configuration files with logical groups ( ini style ) as well , but you can easily modify the Python one by stealing the phrasing from Raku prompt
Hacker News story: LLM generated parsers and compliance checkers for Sparrow DSL
Reviewed by Tha Kur
on
May 09, 2026
Rating:
No comments: