Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xe/minicompiler
/ functions
Functions
11 in github.com/Xe/minicompiler
⨍
Functions
11
◇
Types & classes
4
↓ 2 callers
Function
lex
Turns a string of input into a slice of tokens. This goes over every character in the string and combines numbers together.
src/main.rs:67
↓ 2 callers
Function
parse
Takes a list of Tokens and runs the [Shunting-yard](https://en.wikipedia.org/wiki/Shunting-yard_algorithm) algorithm to turn infix notation into postf
src/main.rs:150
↓ 2 callers
Method
precedence
(&self)
src/main.rs:15
↓ 2 callers
Function
tilt_until
(operators: &mut Vec<Token>, output: &mut Vec<Token>, stop: Token)
src/main.rs:138
↓ 1 callers
Method
top
(&self)
src/main.rs:130
Function
basic_lexing
()
src/main.rs:211
Function
basic_parsing
()
src/main.rs:234
Method
fmt
(&self, f: &mut fmt::Formatter)
src/main.rs:48
Function
full_lex_parse
()
src/main.rs:262
Method
into
(self)
src/main.rs:60
Function
main
()
src/main.rs:194