This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::iter::Peekable; | |
/// Lexer for parsing basic mathematical expressions. | |
struct Lexer<'a> { | |
/// The input string to tokenize. | |
input: &'a str, | |
/// The current position of the lexer in the input string. | |
current_position: usize, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am traumatism on github. | |
* I am mclareeen (https://keybase.io/mclareeen) on keybase. | |
* I have a public key ASBtYPltY8Tt7NvdqJs5GWkH4r4TYJmfFZaObuodIMB4MAo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
r="[31m" # red | |
y="[33m" # yellow | |
w="[37m" # white | |
STATE_ICON="" | |
IP_ICON="ﰍ" | |
SERVER_ICON="" | |
ACCOUNT_ICON="" |