gerunderground.blogg.se

Create a programming language
Create a programming language







The interpreter is a finicky bit of tech: it needs to be spoken to in a certain way for it to do its job of telling the computer how to move zeroes and ones around. Assembly languages are a bit weird as their commands also need to be interpreted, but they use what’s called an assembler instead of an interpreter as their commands are closer related to the “pure” machine language and thus don’t need full translation. The interpreter bridges the gap between you and the machine, and every language has a different interpreter. You tell the interpreter what you want, and it in turn tells the computer what you said, but in machine language.

create a programming language

Instead, you’re talking to a so-called interpreter, a program which is part of the language that turns a command into binary. When typing up commands in a high-level language, you’re not telling a device what to do. That said, it should be noted that programming isn’t quite as direct as that.









Create a programming language