3 Repos
Tools and frameworks for building, testing, and managing Swift macros.
Explore 3 awesome GitHub repositories matching part of an awesome list · Macro Development Tools. Refine with filters or upvote what's useful.
swift-syntax is a library for parsing, manipulating, and generating Swift source code. It provides a source-accurate abstract syntax tree representation of Swift code, acting as a parser, transformer, and code generator. The project serves as the infrastructure for Swift macro development, enabling the expansion and transformation of source code during compilation. It is used to build compiler tooling for static analysis, formatting, and automated refactoring. The system covers a broad range of source analysis capabilities, including the ability to convert source code into structured trees f
Official library for parsing and manipulating Swift source code.
Magical testing tools for Swift macros.
Provides assertion tools for testing macro expansions and diagnostics.
Did you know that -0xFep-02 is a valid floating point literal in Swift? Well you probably didn't (it's equal to -63.5), and as a macro author you shouldn't even have to care! Among many things, Macro Toolkit shields you from edge cases so that users can use your macros in whatever weird (but…
A toolkit for creating concise and expressive Swift macros.