Skip to content

Releases: cgofree/tree-sitter-python

Release list

v0.1.0

Choose a tag to compare

@smm-h smm-h released this 08 Oct 19:19

tree-sitter-python v0.25.0 in pure Go

Context

Generated by cgofree from:

  • tree-sitter-python v0.25.0 at commit 293fdc02038ee2bf0e2e206711b69c90ac0d413f
  • the runtime github.com/cgofree/tree-sitter v0.1.0
  • the translator github.com/stricttools/wasm-to-go v0.5.0 (commit 2f70806c64d1454e63929d41df93867884702896), with the passes:
    • wasm-opt --low-memory-unused --converge -O4 --enable-mutable-globals --enable-multivalue --enable-nontrapping-float-to-int --enable-sign-ext --enable-reference-types --enable-bulk-memory --enable-extended-const --strip --strip-producers
    • libc-gen (runtime)
    • libc-gen (grammars) -deref-mem
    • wasm2go -embed -unsafe
  • wasi-sdk 34.0 (SHA-256 b761e3a0721dbae9c09a0059e5fdb2bf917d1b4a8a7b430fb3b5aafb0984b2c4)
  • binaryen 133 (SHA-256 2dc9c7813f5375db93d96ead4b78222fcc3e2677bbb832297af4797782a37489)
  • the recipe with SHA-256 288d0cd802672a095c790fde40a4f38d80edcb31dbc6f460ca5911a083ae4017

Identity check against a native C build (cc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)) on the inputs with SHA-256 b6917cf8470a92408fd8dc590445f6502239633700bd926908bbb1391c467661:

  • python: 1986 files (36486780 bytes) identical, 50 of them identical through the API

Packages:

  • github.com/cgofree/tree-sitter-python: 460685 bytes of WebAssembly translated into 853310 bytes of Go

Features

  • First release: tree-sitter-python v0.25.0 in pure Go. Translated from tree-sitter-python v0.25.0 (commit 293fdc02038ee2bf0e2e206711b69c90ac0d413f) with github.com/stricttools/wasm-to-go v0.5.0. Requires github.com/cgofree/tree-sitter v0.1.0. Parse trees and query captures are identical to a native C build of the same sources on 1986 inputs (python: 1986, 50 through the API).