How to make a new languagse Jython Script

So I was doing: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/using-objects-for-lookups
but then decided I was too lazy to go over the whole thing and just use a code to get out all of the words so I decided to give myself the next task:

Get all the words that have a string around them and
print them out in the console.

case "alpha":
      result = "Adams";
      break;
    case "bravo":
      result = "Boston";
      break;
    case "charlie":
      result = "Chicago";
      break;
    case "delta":
      result = "Denver";
      break;
    case "echo":
      result = "Easy";
      break;
    case "foxtrot":
      result = "Frank";};

function getAllStrings

if "" in words;
console.log(words."");

Only as you can see this did not go so well as the code keept on picking the keywords and I could’t find a way to ignore it. And I ended up creating this abomination called Jython Script where people have no idea’s what languagse it even is anymore XD

Anyhow so I though why not make Jython Script a real thing
Is there anyone who have made a code languagse before if so how did u do it and where did u start?

Did you search for this question? There are plenty of resources available. Just be warned, it is no small task.

https://www.youtube.com/results?search_query=Make+Your+Own+Programming+Language