Coding language !Help Needed!
Hey, im trying to make a coding language and would like help.
Here is how much I have done so far:
You're kind of on the right track there. First, you might want to read from a file instead of getting the code through user inputs in the console. And second, try making a lexer. A lexer is the name of a function that turns a string like this:
int: var = 5
into an array like this:
[int] [:] [var] [=] 
Each individual element is called a token. Once you have an array of tokens, then you can start actually doing stuff with those tokens, like creating variables, etc.