tiktoken
tiktoken copied to clipboard
Add WASM/JS bindings
This PR builds on top of #40, which introduces both Java bindings and a split Rust core.
I'm not sure about the timeline of that PR getting merged, so could @hauntsaninja help us get at least the "split rust core" part merged? Or decouple the refactor and the feature work if needed.
Could this have as its base revision the branch of #40 so we can more easily see the changes needed on top of that?
@darknoon Sure thing, created a separate PR for better code readability (AFAIK Github doesn't allow showing PR to different repositories). https://github.com/eisber/tiktoken/pull/2
I think it would be better to keep this PR as-is for now to indicate the intent of upstreaming.