Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mcpplibs/lua
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: mcpplibs/lua
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: videcodingdevelopment-environment-setup-f0a5
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 23 files changed
  • 2 contributors

Commits on Feb 26, 2026

  1. feat: implement mcpplibs.capi.lua — C++23 module binding for Lua C API

    - Add src/capi/lua.cppm (module interface) and src/capi/lua.cpp (implementation)
    - Wrap lua.h, lauxlib.h, lualib.h in mcpplibs::capi::lua namespace
    - Types: State, Number, Integer, CFunction, L_Reg, L_Buffer, etc.
    - Constants: status codes, type tags, operators, GC options, hook masks
    - Functions: 100+ bindings covering state, stack, push/access, tables,
      globals, calls, coroutines, GC, debug, auxiliary library, standard libs
    - Use extern C wrapper header to fix GCC C++ modules linkage issue
    - 97 comprehensive Google Test cases covering all API categories
    - 4 examples: basic, table, function, eval
    - Update xmake.lua, CMakeLists.txt, CI workflow, README, architecture docs
    - Design docs and task breakdown in docs/pr/
    - Remove old templates.cppm placeholder module
    
    Co-authored-by: SPeak <sunrisepeak@d2learn.org>
    cursoragent and Sunrisepeak committed Feb 26, 2026
    Configuration menu
    Copy the full SHA
    f7761cf View commit details
    Browse the repository at this point in the history
  2. docs: add mcpplibs-capi-lua agent skill

    - SKILL.md: quick start, naming map, core API cheat sheet, common patterns,
      build config, caveats (callback signatures, extern C, inline limitation)
    - reference.md: complete API reference with all 15 types, 50+ constants,
      100+ functions organized by category with C API correspondence
    - Update skills README to list both available skills
    
    Co-authored-by: SPeak <sunrisepeak@d2learn.org>
    cursoragent and Sunrisepeak committed Feb 26, 2026
    Configuration menu
    Copy the full SHA
    971b71c View commit details
    Browse the repository at this point in the history
  3. fix(ci): build library first to avoid C++ modules race condition

    GCC C++ modules require std.gcm to exist before dependent targets
    compile. Build mcpplibs-capi-lua first (serialized) then build
    remaining targets in parallel.
    
    Co-authored-by: SPeak <sunrisepeak@d2learn.org>
    cursoragent and Sunrisepeak committed Feb 26, 2026
    Configuration menu
    Copy the full SHA
    57c8a62 View commit details
    Browse the repository at this point in the history
Loading