DEV Community

Cover image for Write a language in a week - Theory
William Rågstad
William Rågstad

Posted on

2

Write a language in a week - Theory

Warning! This article is still under construction!

To fully understand something, one must ask why until the most fundamental concepts unfolds.
Let's start with the most basic question.

What is a programming language?

A programming language is a formal language used by humans to write computer programs, consisting of a set of rules that define the structure. In addition to the languages themselves, a compiler is used to convert the program written in the language into a form that can be executed by a computer (a machine), or directly evaluated by an interpreter.

From the information given above, we can deduce that a programming language is simply the structural rules of the programs.
Like natural languages such as English, German, French, Spanish, etc., many programming languages share similar syntax and semantics, and use English as the base language for keywords and identifiers.


< Previous chapter | Chapter 1 | Next chapter coming soon!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs