There are some games which allow the player to write/create scripts in-game, for example: Space engineers or Psi.
I want to use something similar to either one,but I've had a hard time finding information so my question is:
There is a branch of programming that covers the ability of a software once compiled to run new code created by the user?
By branch of programming I mean something like PTG (Procedural Terrain Generation).
To avoid the 'too broad of a question' or 'opinion based', let me clearly state that I'm not looking for guides or places to learn, I want the name or definition (if one exists) of the technology involved.