Crafting interpreters. Very well written and free of cost, but ofc I’d recommend purchasing a copy.

If you find it a bit hard to chew, there is a simpler book using Python: https://www.amazon.ca/Anthony-J-Dos-Reis/e/B001KE4SU8/ref=dp...

Another book: Game Scripting Mastery.

thank you very much

that is all i needed

Crafting Interpreters is a good recommendation, and in the same spirit "Writing an Interpreter in Go" (and it's followup about writing a virtual machine) is a good addition.

A lot of the complexity and front-work of these kinda things is the parsing step though, so you can follow MAL (or any other make a lisp tutorial) though that won't necessarily help with other languages it frees you to jump to the interesting parts.

FORTH, mentioned in another comment, has that same appeal. I wrote a quick tutorial here, back in the day:

https://github.com/skx/foth