langston-barrett/mogglo
Multi-language AST-based code search and rewriting tool that supports embedding Lua code in patterns
Built on tree-sitter grammars, Mogglo leverages embedded Lua scripts within patterns and replacements to enable sophisticated transformations—such as arithmetic validation and conditional rewrites—that go beyond simple syntax matching. Language-specific CLI tools (mogglo-rust, mogglo-python, etc.) provide zero-config operation across 12+ supported languages. The Lua API exposes recursive pattern matching and AST introspection, allowing users to encode complex codemod logic directly in search expressions.
No commits in the last 6 months.
Stars
34
Forks
1
Language
Rust
License
MIT
Category
Last pushed
Jul 08, 2024
Monthly downloads
166
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/langston-barrett/mogglo"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.