C & Native Windows API

MercuryShell

The Refactoring Journey. A high-performance CLI simulation showcasing the evolution from a basic functional prototype to a professional, data-driven architecture.

MercuryShell CLI Interface

Engineering Highlights (v2.0)

Function Pointer Dispatch Table

Eliminated monolithic if-else blocks. By implementing a Command structure and a function pointer array, achieved seamless O(1)/O(n) command lookup complexity.

Recursive Directory Search

Utilizes the WIN32_FIND_DATAA structure to deeply traverse the Windows file system, providing powerful and fast search capabilities across the entire directory tree.

Fuzzy Matching (Levenshtein)

Enhanced UX by integrating the Levenshtein Distance algorithm. Analyzes typos (e.g., "helpp") and calculates distance to suggest an intelligent "Did you mean?" prompt.

Advanced File Support

Upgraded file handling capabilities to support not only plain text (ASCII) but also complex binary file reading and Hex Dump formatting.

Technical Evolution (v1.0 → v2.0)