V self-compiling compiler ? #18444
Answered
by
JalonSolov
thi8v
asked this question in
Questions and Answers
-
Does V had a self-compiling compiler / or a compiler to c ? Because I search in https://github.com/vlang/v and https://github.com/vlang/vc, at the first commits (around 100 commits) and I never found code that is not in V |
Beta Was this translation helpful? Give feedback.
Answered by
JalonSolov
Jun 14, 2023
Replies: 1 comment
-
As of the first public version of V, yes, it compiles itself. The default output is to C, then a C compiler turns that into an executable. There are other types of output in various stages of completion - from most to least complete: JavaScript, WASM, Go, native. A third-party has made a FreePascal backend as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
thi8v
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of the first public version of V, yes, it compiles itself.
The default output is to C, then a C compiler turns that into an executable.
There are other types of output in various stages of completion - from most to least complete: JavaScript, WASM, Go, native. A third-party has made a FreePascal backend as well.