Book

From Esolang
Jump to navigation Jump to search

Book is an esolang by User:yoyolin0409. Its inspiration comes from various books. God knows how it works. I just randomly messed around with some stuff. It's stopped

Instructions

Instruction Python Corresponding
001234567891011121314151617181 Start (Non Python)
920212223242526272 End (Non Python)
8293031323334353637D<encoding> # -*- coding: <encoding> -*-
HCPEMZVAYEN +
FOVRNDHLUSGYEHFGCKVSWOPLN -
MAZXRDBC *
JKDEBFMKDKSFHVCGSZDKDHFHCBDYEBVXHELT /
001111010010000 //
110100 %
101010101 **
1100010 =
01010001111010101001110011010101010110100110101 round
011010100110011010 "
101011000001110101010110101001100 \
Greeting program \n
<<<print"h \r
ello" << print
<answer=rawinput <<<ifa """
nsewer=" + in str
hello": print "smileyface" <<<else: print "sadface" <<X * in str
What is this book about? [ in str
This book is about numbers, computers, and coding-- ] in str
How were these important tools developed? : in str
And how you can use them len
sequence (
Can you find numbers less than 0? )
Numbers are the basic units used for counting. Over thousands of years, mathematicians have discovered increasingly complex numbers. [
Can you prove that 1 + 1 = 2? ]
How big is infinity? [ in list
geometry ] in list
Some codes can scramble messages and hide them, which is called encryption. : in list
Some nouns or proper nouns appearing in this book append
You might feel very unfamiliar ,
Turn to pages 120-123 while
You can look up the meanings of these proper nouns. <
cryptography >
How are passwords generated? How can they be cracked? ==
A computer is a mechanical or electric machine that we can program to execute specific programs. <=
These programs will quickly run through a string of code consisting of 0s and 1s (called bits), like this. >=
Computer Science !=
What's inside a computer and what does it look like? input
How do computers work? int in code
Computer code gives instructions to the computer; this type of coding is called programming. if
Cryptocurrency elif
programming else in if
How does a computer know what to do? for
Software Engineering in
Can computers think for themselves? {
AI }
01001000 01101001 : in dict
It is the computer language "Hi". copy
There's only one language that any computer can understand: machine code-- items
It only uses two symbols: "0" and "1". del
Why? range
Every computer contains at least one memory chip. list in code
A single memory chip can hold millions of tiny switches called transistors, used to store all the information in a computer—also known as data. sum
Transistors can only exhibit one of two states, including: break
When current flows, the state is either on or 1. continue
When no current flows, the state is off or 0. else in for
i pass
01101001 class
H def
0100100 ...
Hi match
To be proficient in computers... case
Do I have to learn more than 8,000 languages? _ in match
Machine code is inconvenient to read and write, so computer scientists designed various programming languages ​​specifically for writing instructions. return in match
Most programmers use more than one programming language, but no one understands them all. | in match

Example

Hello world!

001234567891011121314151617181
ello" <<sequence011010100110011010Hello world!011010100110011010Can you find numbers less than 0?
920212223242526272

Infinite loop

001234567891011121314151617181
Turn to pages 120-123 1How are passwords generated? How can they be cracked?1
    ello" <<sequence011010100110011010Hi011010100110011010Can you find numbers less than 0?
920212223242526272