4: Compiler logic
Our goal in this chapter is to develop confidence with parsing and interpreting command-line arguments, describing how a markdown compiler works, and implementing control blocks to make it possible. We are also going to introduce vectors to get a head start on the next chapter.
- Describe how a compiler works in general
- Create a vector without errors
- Read and parse command-line arguments without errors
- Implement a match block without errors
- Pass an argument to a function without errors