Sparrow DSL용 LLM 생성 파서 및 규정 준수 검사기

hackernews | | 📰 뉴스
#기타 ai
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

안녕하세요<p>저는 LLM이 DSL 코드 생성에 있어서 정말 훌륭하다고 생각합니다. 잘 구조화되고 명확한 프롬프트를 제공하는 경우.</p><p>저는 Sparrow( https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;Sparrow6&#x2F;blob&#x2F;master&#x2F;documentation&#x2F;taskchecks.md )의 저자입니다. 많은 프로그래밍 언어에 대한 SDK를 사용한 텍스트 구문 분석 및 자동화를 위한 DSL입니다. , 그리고 Deep Seek이 다양한 구성 파일(sudoers, sshd, redis, forgejo to na)에 대해 파서 및 규정 준수 검사기를 얼마나 잘 생성하는지 정말 감동받았습니다.

본문

Hi<p>I believe LLM are really cool in generating DSL code. If one provides well structured and clear prompt.</p><p>I am the author of Sparrow ( https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;Sparrow6&#x2F;blob&#x2F;master&#x2F;documentation&#x2F;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 few example :</p><p>- forgejo - https:&#x2F;&#x2F;chat.deepseek.com&#x2F;share&#x2F;y3f2om2b6hvzcm752h</p><p>- redis - https:&#x2F;&#x2F;chat.deepseek.com&#x2F;share&#x2F;9eakpdlaa6b88e38u3</p><p>- sshd - https:&#x2F;&#x2F;chat.deepseek.com&#x2F;share&#x2F;1roo31ihmuz10xjxem</p><p>- sudoers - https:&#x2F;&#x2F;chat.deepseek.com&#x2F;share&#x2F;is2ey6vgbhvdbyqtoa</p><p>Here are two prompts I use :</p><p>- With Python SDK - https:&#x2F;&#x2F;gist.github.com&#x2F;melezhik&#x2F;d57132c9d3ba0ae9cee30a7c04c98399
- With Raku SDK - https:&#x2F;&#x2F;gist.github.com&#x2F;melezhik&#x2F;6f25775aab9f5ec2e22f1193e7ca824b</p><p>You may choose any of them replace words sshd&#x2F;forgejo by any word of your interest and try it out with free deep seek chat bot, expert level with browser, have fun</p><p>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</p>

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →