fishstringer-slang-parse 0.4.0

The Slang front end for Unpopped: a tree-sitter Slang parser, the Slang residue list and the `SLANG` Frontend that lifts Slang compute kernels into Unpopped's IR. FishStringer owns Slang (moved from vulkane-slang-parse).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# fishstringer-slang-parse

The Slang front end for [Unpopped](https://crates.io/crates/unpopped): a tree-sitter Slang parser
(`parse_slang`), the Slang residue list (`SLANG_RESIDUE`) and the `SLANG` `Frontend`, which feeds Unpopped's
`lift_elementwise` / `lift_reduction` / `lift_scan` walkers to turn Slang compute kernels into IR.

Moved here from `unpopped::convert` (Unpopped `213df4f`, v0.34.11) and later moved to FishStringer, which owns Slang in the CireSnave
ecosystem (it was `vulkane-slang-parse`; history preserved): the language owner writes the parser and the emitter (`fishstringer-slang-emit`). Unpopped keeps the
language-neutral `Frontend` and walkers.

Not yet on crates.io (first publish is the PM's); once published, add it with `cargo add fishstringer-slang-parse`.

`tree-sitter` must be the same minor as the one `unpopped` uses, because `Frontend::parse` returns a
`tree_sitter::Tree`.

Licensed under either of Apache-2.0 or MIT, at your option. Provenance: `THIRD-PARTY-NOTICES.md`.