Skip to content

Table of compilers

Zeioth edited this page Jul 16, 2024 · 80 revisions

As you probably know, compiler.nvim is just a user interface that calls the right compiler depending the filetype of the buffer you are editing. This means you will need to have the actual compiler installed on your system to be able to compile. These are the compilers we use to compile every language.

Language Compiler
asm x86-64 nasm to compile and mingw-w64 to call the linker ld
c gcc
c++ g++
c# csc or dotnet
dart dart or flutter
elixir mix run
fortran fpm run
f# dotnet
gleam gleam build
go go build
java javac
javascript node
kotlin kotlinc
lua lua
make make
perl perl
python python (interpreted), nuitka3 (machine code), pyinstaller (bytecode)
r Rscript
ruby ruby
rust rustc
shell sh
swift swiftc
typescript tsc and node
visual basic dotnet dotnet
zig zig build run and zig build

If you want to use a different compiler, you can fork the project and edit your language in /compiler/languages/ or creating a Makefile.