A patcg and how to build it from the V lang initial open source release files
Lie this. Asuume that the platform is macOS.
mkdir vlang
git clone https://github.com/vlang/v.git
cd v/compiler
curl -O 'https://vlang.io/v.c'
patch -p1 < v.c.patch
clang -w -o vc v.c
# This is needed.
mkdir /tmp/vlang
# Since $HOME/v will be used to find v file, pass a path to the parent.
env HOME=$(cd $(pwd)/../..; pwd) ./vc -o v .
Then, you will get compiler
.