Skip to content

Yu-classroom/swift-ast-explorer

 
 

Repository files navigation

macOS/Linux Swift 5.3 Compatible Apache 2

Swift AST Explorer

AST visualizer for Swift source code. https://swift-ast-explorer.com/

Screen Shot

Features

Show Swift syntax in a tree structure.

Screen Shot

Visualize which syntax each token in the source code corresponds to.

Screen Shot

Display an overview and inspect where each syntax is used.

Screen Shot

Run the app

SWIFT_VERSION=`swift --version` swift run

Open http://0.0.0.0:8080

Run using Docker

Build image

docker build --rm --tag kishikawakatsumi/swift-ast-explorer .

Run the container

docker run --rm --publish 8080:8080 kishikawakatsumi/swift-ast-explorer

Open http://0.0.0.0:8080

Releases

No releases published

Packages

No packages published

Languages

  • Swift 59.9%
  • JavaScript 31.9%
  • CSS 4.7%
  • Dockerfile 3.5%