Lecture Recordings (rehosted on YouTube)
Remember that lecture recordings are available on Canvas for 2 weeks after class; so if you don’t see it here, check there first.
You can speed up the video playback… listening to myself at 1x speed is agonizing lmao
- Lecture 0 - Intro and Rust
- Lecture 1 - Rust, Strings, and Text
- Lecture 2 - Lexing and Grammars
- Lecture 3 - CFGs and ASTs
- Lecture 4 - Top-down Parsing
- Lecture 5 - Bottom-up Parsing
- Lecture 6 - Semantic Analysis
Guides and Links
- The Truss Language reference - a specification of the toy language whose compiler you are writing for the projects.
- The Rust Playground is an online Rust compiler, good for testing things.
- This is a page of common programming idioms implemented in several languages.
- This is useful if, for example, you know how to do something in Java but not Rust.
- Unicode normalization is a complex topic. Human languages and writing systems are weird!!
- Rustlings is a set of exercises for new Rust programmers.
Examples are hosted on GitHub here!
Clone the repository:
git clone https://github.com/cs1622-2217/examples.git
This will create an
examples directory wherever you are that will contain the examples.
When I update the examples, I will let you know. Then you can go into that
examples directory and do:
to get the updated code.