
patternsinterpreter
by mgreenly
An AI Coding Agent
SKILL.md
name: patterns/interpreter description: Interpreter Pattern pattern for C development
Interpreter Pattern
Define a grammar and interpreter for a language. Parse input into AST, evaluate by walking tree. Used for DSLs, expressions, commands.
ikigai Application
Slash commands: Simple interpreter - parse command name and args, dispatch to handler.
Future DSL possibilities:
- Query language for conversation search
- Filter expressions for message selection
- Template syntax for prompts
Current approach: Slash commands are simple enough that full interpreter isn't needed. Direct string matching suffices.
When to use: If command syntax grows complex (flags, subcommands, expressions), consider proper parser with grammar definition.
ANSI parsing: Terminal escape sequences are interpreted via state machine, a lightweight interpreter.
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon