I think a parser is part of most compilers. It's the thing that won't let you compile code if there's syntax errors or missing semicolons or something. Or maybe I'm wrong, I have very little idea what I'm talking about.
Parsers are the main part of compilers. They don't just check for errors, they try to figure out what your code says -- an error is just what happens when they can't figure out what you were smoking when you wrote it.
Even in interpreted languages, every line has to be parsed to be translated into the lower-level instruction.
View all comments
Show parent comment
1
u/BronzeOne Mar 13 '17
I feel like i should be using parsers then haha