DEV Community

Cover image for What is the compiler

What is the compiler

buddhikac96 profile image Buddhika Chathuranga ・1 min read

The compiler is a nothing but a source code translator. There are multiple types of compilers according to how they translate source code to another source code.

When a compiler translates high-level source code into low-level source code we call it a traditional compiler.

When the compiler translates low-level source code, we call it decompiler.

When the compiler translates high-level language into another high-level language we call it a transcompiler or transpiler.

Would you like to learn more about compilers and their architecture? Read this article. I have briefly explained how compilers work in this article.

Discussion (0)

Editor guide