Skip to content

Add Kotoba Plus Code encode/decode binding - #765

Open
com-junkawasaki wants to merge 1 commit into
google:mainfrom
kotoba-lang:cursor/kotoba-olc-binding-4f27
Open

Add Kotoba Plus Code encode/decode binding#765
com-junkawasaki wants to merge 1 commit into
google:mainfrom
kotoba-lang:cursor/kotoba-olc-binding-4f27

Conversation

@com-junkawasaki

Copy link
Copy Markdown

Adds kotoba/ next to the other language directories.

v1 encode/decode of a full Plus Code. Coordinates are microdegrees (i64) because kotoba v0.7.2 wasm has no IEEE floats. No shorten/recover. Kotoba cannot FFI.

Google CLA may apply. Happy to sign.

Fork PR: kotoba-lang#1

Compile openlocationcode.kotoba to host-independent wasm32 with kotoba
CLI v0.7.2. The wasm backend is i64-only, so coordinates are
microdegrees and codes are packed ASCII words. Vendored encode/decode
vectors come from test_data/; CI downloads the 0.7.2 CLI and runs
kotoba/checks.sh.

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.

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