Home

Awesome

vspect

vspect had been archived and no longer work. Use new Vs official command v ast`

inspect vlang source file

Commands

Usage

# Print ast
vspect ast example.vv
# Print ast only specified function
vspect ast --fn=add example.vv
# Omit expr details
vspect ast --short-expr example.vv

Installation

git clone git@github.com:zakuro9715/vspect && cd vspect
v . -prod
./vspect

Development