https://github.com/c42f/juliasyntaxformatter.jl
Semantic highlighting of JuliaSyntax ASTs as Julia code
https://github.com/c42f/juliasyntaxformatter.jl
Last synced: 7 months ago
JSON representation
Semantic highlighting of JuliaSyntax ASTs as Julia code
- Host: GitHub
- URL: https://github.com/c42f/juliasyntaxformatter.jl
- Owner: c42f
- License: mit
- Created: 2024-05-21T10:24:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-24T04:52:18.000Z (over 1 year ago)
- Last Synced: 2024-10-19T17:46:11.163Z (over 1 year ago)
- Language: Julia
- Size: 14.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JuliaSyntaxFormatter
[](https://github.com/c42f/JuliaSyntaxFormatter.jl/actions/workflows/CI.yml?query=branch%3Amain)
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 :)