<s>[INST] You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know. Use three sentences maximum and keep the answer concise. Question:  How does a compiler differ from an interpreter? Context: A compiler translates the entire program into machine code before execution, while an interpreter translates code line by line as it is being executed. Answer: [/INST]A compiler translates the entire program into machine code before execution, while an interpreter translates code line by line as it is being executed.</s>