IChooseYou 3a5d03fae0 feat: add Import from Source parser for C/C++ struct definitions
Adds a new "Import from Source..." menu item that opens a QScintilla
editor dialog where users can paste C/C++ struct definitions. The parser
tokenizes and parses the source using recursive descent, supporting
stdint.h types, Windows types (BYTE/DWORD/PVOID/etc), multi-word C
types, pointers, arrays, Vec2/3/4/Mat4x4 detection, unions (first
member), padding fields, typedefs, forward declarations, static_assert
size checks, and auto-detection of comment offset mode vs computed
offsets. Also removes the flaky test_editor cursor shape tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 14:08:12 -07:00
2026-02-15 09:23:17 -07:00

This tool helps you inspect raw bytes and interpret them as types (structs, arrays, primitives, pointers, padding) instead of just hex. It is essentially a debugging tool for figuring out unknown data structures either runtime or from some static source.

screenshot

State

  • MCP (Model Context Protocol) bridge via ReclassMcpBridge.exe. The server starts by default and can be stopped from the File menu. It exposes all tool functionality to any MCP-compatible client (e.g. Claude Code) and falls back to UI prompts when the client requests something not yet covered by tools. To connect, add this to your MCP client config (e.g. .mcp.json):
    {
      "mcpServers": {
        "ReclassMcpBridge": {
          "command": "path/to/build/ReclassMcpBridge.exe",
          "args": []
        }
      }
    }
    

Build

  1. Prerequisites
  1. Quick Build (relies on powershell| for manual build skip to step 3)

    git clone --recurse-submodules https://github.com/IChooseYou/Reclass.git cd Reclass .\scripts\build_qscintilla.ps1 .\scripts\build.ps1 ^ script above tries to autodetect Qt install (as we learned not everyone installs to C:/Qt/)

  2. Manual Build

Step by step for peoplewho want to run commands themselves:

  1. Clone with --recurse-submodules (+ fallback git submodule update --init --recursive)
  2. Build QScintilla: qmake + mingw32-make in third_party/qscintilla/src
  3. CMake configure + build with -DCMAKE_PREFIX_PATH
  4. optionallly windeployqt the exe

Alternatives

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-05-11T01:57:13.340Z
Readme MIT 17 MiB
Languages
C++ 92.7%
CMake 1.8%
C 1.7%
PowerShell 1.3%
Python 1.2%
Other 1.2%