Cogna is a code analysis platform. Its initial goal was to build static analysis and search engines based on Code Property Graphs (CPG). This project is my learning exercise for MoonBit and compiler technology, and also marks my first (failed) attempt at Vibe Coding.
Compared to traditional programming, I encountered defect explosion and architectural decay much faster than usual — which led me to return to a hybrid approach combining Vibe Coding with classical software engineering.
Moving forward, I will draw on my own software engineering experience, using a hybrid approach of traditional programming + AI to build the Cogna platform from the ground up, one atomic piece at a time.
The next phase will focus on parkit. I aim to build a parser framework that is both educational and practical, supporting multiple grammar inputs and generator algorithms. It is not intended to be "yet another parser generator" — rather, it is meant to reveal the inner workings of various generators. At the same time, I want to reduce the friction developers face when learning to write parsers, and deliver an industry-leading developer experience (DX).
| Repository | Description | Language | Maturity |
|---|---|---|---|
| parkit | Parser toolkit for MoonBit | ||
| mcp-sdk | MoonBit SDK for the Model Context Protocol | ||
| moonbit-actions | GitHub Actions for the MoonBit lifecycle | ||
| moonbit-skill | Agent Skill for the MoonBit programming language | ||
| x | Experimental MoonBit packages for real-world use | ||
| mapi | Web framework for MoonBit |
We're at the very beginning of this journey. Everything is NotReady — and that's okay!
- Follow parkit for the most active development
- Contribute — issues, ideas, and PRs are all welcome
- Follow @cogna-dev to stay updated
Built with 🦉 by the XaC Labs team