From 24ea6dfe14d9d0452c0d65c08348fd8c732a4187 Mon Sep 17 00:00:00 2001 From: frittex <104741582+FritteX14@users.noreply.github.com> Date: Sun, 18 Sep 2022 13:22:01 +0200 Subject: [PATCH] docs: add note that clang is required (#15802) --- doc/docs.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index f346dff19d..969572c37a 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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: