<commit_before># from-machine-to-code
Explore and program a tiny microprocessor starting from a single gate. An explorable explanation that shows how a CPU is built from AND, OR, NOT, and XOR gates. In the style of http://explorableexplanations.com.

![AND gates](https://raw.githubusercontent.com/ReidWilliams/from-machine-to-code/master/assets/gates.jpg)

# Outline

#### Meet the gates
- Gates are electrical
- Gates have inputs and outputs
- Inputs and outputs can be on or off, like a switch
- AND, OR, NOT

#### Gates can be combined 
- If it's hot outside and it's not windy and it's not raining and we've got sunscreen, then let's go to the beach. We can use a few gates to build a circuit that'll help us decide whether to go to the beach.<commit_msg>fix link to and gate<commit_after># from-machine-to-code
Explore and program a tiny microprocessor starting from a single gate. An explorable explanation that shows how a CPU is built from AND, OR, NOT, and XOR gates. In the style of http://explorableexplanations.com.

![AND gates](https://raw.githubusercontent.com/ReidWilliams/from-machine-to-code/master/client/assets/gates.jpg)

# Outline

#### Meet the gates
- Gates are electrical
- Gates have inputs and outputs
- Inputs and outputs can be on or off, like a switch
- AND, OR, NOT

#### Gates can be combined 
- If it's hot outside and it's not windy and it's not raining and we've got sunscreen, then let's go to the beach. We can use a few gates to build a circuit that'll help us decide whether to go to the beach.
{'fraction_non_alphanumeric': 0.08148631029986962, 'fraction_numerical': 0.0, 'mean_word_length': 4.016339869281046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7401218', 'n_tokens_mistral': 458, 'n_tokens_neox': 435, 'n_words': 221}