Skip to content

Add Kotoba v1 Draco magic/header binding - #1220

Open
com-junkawasaki wants to merge 3 commits into
google:mainfrom
kotoba-lang:cursor/kotoba-draco-header-v1-cc53
Open

Add Kotoba v1 Draco magic/header binding#1220
com-junkawasaki wants to merge 3 commits into
google:mainfrom
kotoba-lang:cursor/kotoba-draco-header-v1-cc53

Conversation

@com-junkawasaki

Copy link
Copy Markdown

Adds a first-class kotoba/ sibling next to src/ (C++) and javascript/.

What this is

v1 parse of the Draco bitstream magic DRACO plus DracoHeader fields (bitstream version, encoded type) from an 11-byte vendored header prefix. Compiles to host-independent wasm32 with kotoba CLI v0.7.2 (no FFI, no IEEE floats).

What this is not

  • Not a mesh decoder or encoder
  • Not a drop-in replacement for the C++ or JS trees
  • Not robotics-ready

Layout matches src/draco/compression/config/compression_shared.h (DracoHeader).

Checks

kotoba/checks.sh compiles the module and compares the packed result to the fixture bytes. Fork workflow is on kotoba-lang#1. This PR does not claim that workflow has already gone green.

Google CLA may apply for this contribution.

Fork PR: kotoba-lang#1

cursoragent and others added 2 commits August 28, 2026 13:11
Parse DRACO magic plus DracoHeader version and encoded type from an
11-byte vendored mesh fixture. Kotoba 0.7.2 wasm32 i64-v1 only; no
mesh decode, encode, FFI, or robotics claim. Fork CI runs checks.sh.

Co-authored-by: Jun Kawasaki <04.feasts_minded@icloud.com>
Path-ignore on that workflow was skipped because this PR also
edited ci.yml. Leave the upstream matrix alone; kotoba.yml is
the fork check.

Co-authored-by: Jun Kawasaki <04.feasts_minded@icloud.com>
@google-cla

google-cla Bot commented Aug 28, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

draco-ci must skip kotoba/** and .github/workflows/kotoba.yml so a
header-only binding does not enqueue the C++/JS matrix.

Co-authored-by: Jun Kawasaki <04.feasts_minded@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants