An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/gomantics/chunkx

Package chunkx provides AST-based code chunking using the CAST algorithm. ChunkX implements the CAST (Chunking via Abstract Syntax Trees) method for semantically-aware code chunking. Unlike line-based chunking, CAST respects code structure by parsing source into an AST and creating chunks that align with syntactic boundaries (functions, classes, methods). Basic usage: Supports 30+ languages including Bash, C, C++, C#, CSS, Cue, Dockerfile, Elixir, Elm, Go, Groovy, HCL, HTML, Java, JavaScript, Kotlin, Lua, Markdown, OCaml, PHP, Protobuf, Python, Ruby, Rust, Scala, SQL, Svelte, Swift, TOML, TypeScript, and YAML. For unsupported file types, the chunker automatically falls back to a generic line-based chunking algorithm.

Ecosystem
proxy.golang.org
Latest Release
v0.0.3
6 months ago
Versions
3
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/gomantics/chunkx
spec
License MIT
Namespace github.com/gomantics
First Release 6 months ago
Last Synced about 1 month ago
Rankings on proxy.golang.org
Overall Top 5.3%