When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| struct Scanner { | |
| input: String, | |
| output: Vec<Token> | |
| } | |
| #[derive(Debug)] | |
| enum Token { | |
| Integer(i64), | |
| Addition, | |
| Subtraction, |