zakuro9715 / vspect

Tools to inspect vlang source file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Tools to inspect vlang source file

License:GNU General Public License v3.0


Languages

Language:Coq 64.2%Language:V 31.2%Language:Verilog 4.4%Language:AMPL 0.3%