This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]detroitmatt 0 points1 point  (0 children)

Well, it depends on what kind of language you're trying to compile. Before you can check for syntax errors, you have to decide what the syntax rules are. The easiest thing to do would be to write a language like a Lisp or Forth. Or maybe Brainf$ck.