Take this class and learn how to build your own simple web browser complete with the ability to parse and understand HTML and JavaScript.
What You Will Learn
LESSON 1
String Patterns
- Find and specify classes of strings using regular expressions.
- Learn how to escape problematic characters.
- Represent a Finite State Machine.
LESSON 2
Lexical Analysis
- Breaking strings down into important words.
- Write your own lexer that can tokenize HTML strings.
- Use regular expressions to parse
- lex
- and tokenize HTML and JavaScript.
LESSON 3
Grammars
- How to specify and deconstruct valid sentences.
- Parsing grammars and discovering errors using regular expressions.
- Use generators to parse strings.
LESSON 4
Parsing
- Turning sentences into trees.
- Discover malformed input.
- Set precedence to prioritize parsing of strings.
LESSON 5
Interpreting
- Simulating programs.
- Write an HTML interpreter.
- Calling functions and interpreting function definitions.
LESSON 6
Building a Web Browser
- Interpreting HTML and JavaScript
- Build your own web browser.
- Optimize the performance of your web browser.
LESSON 7
Wrap-up
- Use regular expressions to parse HTML and JavaScript
- Write an HTML interpreter.
- Write a JavaScript interpreter.