JuliaSyntaxFormatter.jl

Semantic highlighting of JuliaSyntax ASTs as Julia code
Author c42f
Popularity
5 Stars
Updated Last
4 Months Ago
Started In
May 2024

JuliaSyntaxFormatter

Build Status

A nascent package to format JuliaLowering.SyntaxTree as Julia source code with support for "semantic colouring". For example, one can run JuliaLowering's scope analysis pass to determine the identity of each name in the code (tagging it with a var_id). Then color this accordingly.

To try this out, you need the main (ie development) branch of JuliaSyntax.jl

Currently a pile of hacks, probably broken in various ways. Use at your own risk, etc :)