Awesome
vspect
vspect had been archived and no longer work. Use new Vs official command
v ast`
inspect vlang source file
Commands
- ast : Print ast
- tokens: Print tokens
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
- Using z