This question already has an answer here:
my question is this; How do I start making a programming language? By this I mean not an interpreted language, but I want to know how do I start from the machine code and work up, like the first programming languages, as in I want to build something entirely new. I should make it clear i'm not asking for a guide because I'm sure one doesn't exist; I'm asking for pointers, tips, advice, things like that. This is not for any purpose other than solely that I want to learn, and it interests me greatly, but I'm not sure where to start, I've looked around online and I cant find an answer. I'm sorry if this is too vague, but I didn't know where else to ask this question and I'm not sure how to make it less vague.