r/ProgrammingLanguages • Admiran • Jan 14 '26

Build Your Own Programming Language

https://thesephist.com/posts/pl/
47 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/Arakela Jan 30 '26 edited Jan 31 '26

Operational semantics is the language.
The source language is given in the beginning.

The problem we are trying to solve is in front of us. It is given too.
We use the source language to describe an operational semantics, in the source language, that solves the actual problem.

Now, what is the problem? Get users on board? Define a good contract for the GP layer (DSL) of the source language, with the best defaults.

Is it to run the Ray Tracing algorithm at 60pfs? Use the source language to assemble the GPU, i.e., new words of the source language.