mrustc
GitHubGitHub - thepowersgang/mrustc: Alternative rust compiler (re-implementation)Alternative rust compiler (re-implementation). Contribute to thepowersgang/mrustc development by creating an account on GitHub.- Rustコンパイラ / RustcをブートストラップできるRustコンパイラのC++実装
- これは確かに、最小限の実装はどこにあるか?の一つの問いとして面白いと思う
- なんと、borrow checkerを実装する必要がない
rustc + std + その依存 crateという正しいことがわかっている物をコンパイルすることが目的であり、コンパイルできないものをコンパイルできないと言う必要がないから。- そのため他のvalidateないしchecker的な機能も実装する必要がない
- なんと、borrow checkerを実装する必要がない