Skip to content

Navigation Menu

Sign in
Sign up

Add Kotoba v1 ORC header/magic binding - #2708

Open
com-junkawasaki wants to merge 3 commits into
apache:main from
kotoba-lang:cursor/kotoba-orc-header-v1-4eb2
Open

Add Kotoba v1 ORC header/magic binding #2708
com-junkawasaki wants to merge 3 commits into
apache:main from
kotoba-lang:cursor/kotoba-orc-header-v1-4eb2

Conversation

@com-junkawasaki

@com-junkawasaki com-junkawasaki commented Aug 28, 2026

Copy link
Copy Markdown

Adds a first-class kotoba/ sibling next to c++/ and java/.

What this is

v1 reader for ORC file magic plus an uncompressed postscript/footer on a 42-byte vendored fixture. Reports stripe count and the first struct field name. Compiles to host-independent wasm32 with kotoba CLI v0.7.2 (no FFI, no IEEE floats).

What this is not

  • Not a stripe decoder, predicate pushdown, or query engine
  • Not a drop-in replacement for the C++ or Java readers
  • Not robotics-ready

Checks

kotoba/checks.sh compiles the module and asserts those header fields. Fork Kotoba workflow on kotoba-lang#1 ran the compile + fixture job.

ASF ICLA may apply for this contribution. This PR does not file ICLA.

Fork PR: kotoba-lang#1

cursoragent and others added 3 commits August 28, 2026 12:47
Introduce a sibling kotoba/ tree that compiles with Kotoba 0.7.2 to
wasm32 i64-v1 and parses only file magic plus uncompressed
postscript/footer fields on a 42-byte vendored fixture. This is not a
C++/Java reader replacement and does not decode stripes.
Co-authored-by: Jun Kawasaki <04.feasts_minded@icloud.com>
Those files are not required to compile or run the Kotoba header
fixture. Keep this change to kotoba/ and the kotoba CI workflow.
Co-authored-by: Jun Kawasaki <04.feasts_minded@icloud.com>
Parse kotoba compile --json and fail unless kotoba.cli/ok? is true
and kotoba.cli/code is emitted. Fail if the wasm has an import
section. Keep the header fixture asserts. Ignore kotoba paths on
Build and test and Address/Undefined Sanitizer Tests.
Co-authored-by: Jun Kawasaki <04.feasts_minded@icloud.com>

ffacs commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Sorry, but it seems like spam generated by AI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /