1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

docs: add note that clang is required (#15802)

This commit is contained in:
frittex 2022-09-18 13:22:01 +02:00 committed by GitHub
parent 8d2b0d4afd
commit 24ea6dfe14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5757,8 +5757,11 @@ For more examples, see [github.com/vlang/v/tree/master/vlib/v/tests/assembly/asm
## Translating C to V
V can translate your C code to human readable V code and generate V wrappers on top of C libraries.
V can translate your C code to human readable V code, and generating V wrappers
on top of C libraries.
C2V currently uses Clang's AST to generate V, so to translate a C file to V
you need to have Clang installed on your machine.
Let's create a simple program `test.c` first: