Home

Awesome

<p> <img src="https://img.shields.io/badge/os-macOS/Linux-green.svg?style=flat" alt="macOS/Linux"> <a href="http://swift.org"> <img src="https://img.shields.io/badge/swift-5.8-orange.svg?style=flat" alt="Swift 5.8 Compatible"> </a> <a href="https://github.com/kishikawakatsumi/swift-ast-explorer/blob/master/LICENSE"> <img src="https://img.shields.io/badge/license-Apache2-blue.svg?style=flat" alt="Apache 2"> </a> </p>

Swift AST Explorer

Swift AST Explorer is a tool for visualizing the Abstract Syntax Tree (AST) of Swift source code.
Check it out at https://swift-ast-explorer.com/

<a href="https://swift-ast-explorer.com/"><img width="1024" alt="Screen Shot" src="https://github.com/SwiftFiddle/swift-ast-explorer/assets/40610/d41c6f6f-4493-4673-99a6-8dc05fcab30b"></a>

Features

Presents Swift syntax in a tree structure

<img width="600" alt="Screen Shot" src="https://github.com/SwiftFiddle/swift-ast-explorer/assets/40610/4815c8e3-5e62-455d-8954-656a24d3461d.png">

Maps each token in the source code to the corresponding syntax

<img width="600" alt="Screen Shot" src="https://github.com/SwiftFiddle/swift-ast-explorer/assets/40610/2632bb58-2315-4488-bbc6-a8d2c86ae3ff.png">

Provides an overview and inspection of syntax usage

<img width="600" alt="Screen Shot" src="https://github.com/SwiftFiddle/swift-ast-explorer/assets/40610/c36e5705-1029-4590-8719-1b939c9ab209.png">

Author

Kishikawa Katsumi

Supporters & Sponsors

Open source projects thrive on the generosity and support of people like you. If you find this project valuable, please consider extending your support. Contributing to the project not only sustains its growth, but also helps drive innovation and improve its features.

To support this project, you can become a sponsor through GitHub Sponsors. Your contribution will be greatly appreciated and will help keep the project alive and thriving. Thanks for your consideration! :heart:

License

The project is released under the Apache License 2.0