vspect had been archived and no longer work. Use new Vs official command
v ast`
inspect vlang source file
- ast : Print ast
- tokens: Print tokens
# 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
git clone [email protected]:zakuro9715/vspect && cd vspect
v . -prod
./vspect
- Using z