I want to make a compiler, but I don't know where to start :(
Printable View
I want to make a compiler, but I don't know where to start :(
..and where can I get a compiler for that?
A compiler for what?
for assembler! And where a tutorial for it?
:confused:
You better study up on compiler design. They teach comp sci courses in this, you can buy textbooks. If you're serious about writing a compiler, I suggest you invest the time up front studying compiler designs. Also get appropriate language reference manuals, offical ISO/ANSI standard publications, etc., because they have reference manuals that break out parse constructs (whatever they're called). Implement in a good language, if you can.
Be ready to program. You will more than likely have to take either a System Programming or Compiler design classes in college to really learn about what is going on. There is theory behind the code as well.
Let's see- in college I had to write:
a UNIX based OS, an assembler/compiler/linker loader for a made up languge we had created in class. Learned how to use lex and yacc. etc.