Checkpoint
In this chapter, we learned about how a markdown compiler works, and we started working more closely with strings and string slices while piecing together functionality with conditional logic.
Next, we’ll implement our Markdown compiler logic and open a file, read it line-by-line, translate it into HTML, and write the HTML to a new file.
It’s going to be fun!
🚀 Fourth Checkpoint Reached! 🚀
"If you can't fly, then run, if you can’t run then walk, if you can’t walk then crawl, but whatever you do you have to keep moving forward."
Before continuing, you should be able to confidently:
- 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
All our code up to this point is available here on GitHub.
You may also wish to go back and review the fourth chapter.