Y
Hacker News
new
|
ask
|
show
|
jobs
by
klibertp
4364 days ago
I saw a bit of OCaml code in Rust code-base recently, can you say what it's used for? I know that Rust is self-hosting now, but I swear I saw some .ml files there...
1 comments
dbaupp
4363 days ago
~/rust $ find -name '*.ml' | wc -l 72 ~/rust $ find -name '*.ml' | grep -v ./src/llvm | wc -l 0
i.e. there are some OCaml files in a Rust checkout, but they're all part of LLVM, mostly part of the "OCaml Kaleidoscope":
http://llvm.org/docs/tutorial/OCamlLangImpl1.html
link