Tuesday, August 20, 2024

Show HN: Tree-sitter Integration for Swift https://ift.tt/ei67lqz

Show HN: Tree-sitter Integration for Swift I have created a Swift package ( https://ift.tt/x9jqL7W ) enabling tree-sitter parsers to be written in Swift; specifically, as an array of production rules which map symbol types to pairings of syntax expression and type constructor. A member macro derives a tree-sitter grammar and embeds the generated parser in its expansion. This project is a work in progress, and I will be grateful for any feedback. Thanks, Dave https://ift.tt/x9jqL7W August 20, 2024 at 10:33PM

No comments:

Post a Comment

Show HN: Rewriting Scratch 3.0 from scratch in Lua (browser-free native runtime) https://ift.tt/5Af6h7W

Show HN: Rewriting Scratch 3.0 from scratch in Lua (browser-free native runtime) Built a native Scratch 3.0 runtime in Lua that runs .sb3 pr...