Raddsl
Tools for rapid prototyping of DSL compilers
Install / Use
/learn @true-grue/RaddslREADME
raddsl — a toolset for rapid prototyping of DSL compilers
Two combinator-based libraries (eDSLs) written in Python:
- parse.py for syntax analysis: PEG, scannerless parsing, selective memoization, Pratt parser.
- rewrite.py for AST transformations: strategic term rewriting.
Inspired by:
- Schorre, D. V. "Meta ii a syntax-oriented compiler writing language." Proceedings of the 1964 19th ACM national conference. ACM, 1964.
- Carr, C. Stephen, David A. Luther, and Sherian Erdmann. The Tree-Meta Compiler-Compiler System: A Meta Compiler System for the Univac 1108 and the General Electric 645. No. TR-4-12. UTAH UNIV SALT LAKE CITY DEPT OF COMPUTER SCIENCE, 1969.
- Pratt, Vaughan R. "Top Down Operator Precedence." POPL. Vol. 73. 1973.
- Redziejowski, Roman R. "Mouse: from parsing expressions to a practical parser." Concurrency Specification and Programming Workshop. 2009.
- Becket, Ralph, and Zoltan Somogyi. "DCGs+ memoing= packrat parsing but is it worth it?." International Symposium on Practical Aspects of Declarative Languages. Springer, Berlin, Heidelberg, 2008.
- Warren, David HD. "Logic programming and compiler writing." Software: Practice and Experience 10.2 (1980): 97-125.
- Visser, Eelco. "Program transformation with Stratego/XT." Domain-specific program generation. Springer, Berlin, Heidelberg, 2004. 216-238.
Related Skills
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
docs-writer
99.3k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
339.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
49.9k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
