this post was submitted on 09 May 2026
-5 points (14.3% liked)

Programming

27038 readers
146 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

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://github.com/melezhik/Sparrow6/blob/master/documentation/taskchecks.md ) 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:

Here are two prompts I use :

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

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here