哪些語言是f#的編譯器?

[英]In which language is F#'s compiler written?


In which language is F#'s compiler written?

哪些語言是f#的編譯器?

I've heard that F#'s compiler is written in F# :)
(each next version of F# compiler is written on its previous version)
But:
1. Can't google if it's true.
2. If it's true, in which language is the first version of the F# compiler written?

我聽說f#的編譯器是用f#:) (f#編譯器的每個下一個版本都寫在它的上一個版本上),但是:1。如果是真的就不能谷歌。2。如果這是真的,那么在哪種語言中f#編譯器的第一個版本?

1 个解决方案

#1


40  

The F# compiler is written in F#. The source code is available.

f#編譯器是用f#編寫的。源代碼是可用的。

It was originally bootstrapped years ago using OCaml, I believe (and perhaps a little C++ as well). (There is still a non-trivial subset of F# that cross-compiles with OCaml, though the F# compiler source base has long since diverged from that.)

它最初是在幾年前使用OCaml的,我相信(也許還有一點c++)。(仍然有一個非平凡的f#子集,與OCaml交叉編譯,盡管f#編譯器源庫早已偏離了它。)

The current implementation always uses an LKG (last-known-good) set of binaries (.NET DLLs and EXEs) to bootstrap itself when building from source.

當前的實現總是使用一個LKG(最后知道好的)二進制文件集(。NET dll和EXEs)從源代碼構建時引導自己。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2010/12/08/72a3312c0971f341459ec46b586348da.html



 
粤ICP备14056181号  © 2014-2020 ITdaan.com