Better HN
topnewbestaskshowjobs
Log inSign up

daspoon

21 karma · joined Aug 13, 2024 (2y ago) · 4 submissions

Submissions

comment 2y ago · link · parent

Would you mind sharing a simple example?

comment 2y ago · link · parent

That's an interesting angle. I haven't thought about applications much beyond hobby programming languages. I hope to make some progress with error reporting soon. Thanks.

comment 2y ago · link · parent

That's a good point, thanks.

My understanding is that work exposes nearly the full tree-sitter runtime API, but relies on tree-sitter's standard tech for converting javascript grammar specifications to separately compiled C code.

This work instead exposes a minimal subset of tree-sitter functionality, but enables defining parsers entirely in Swift -- eliminating the need for javascript and mixed-language targets, and streamlining the build process.

4.

Show HN: Tree-sitter Integration for Swift(github.com ↗)

52 points · by daspoon · 2y ago · 10 comments