Initial commit
This commit is contained in:
commit
bb97fbcc70
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
target
|
||||||
|
Cargo.lock
|
6
Cargo.toml
Normal file
6
Cargo.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
name = "naxea"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["avitex <theavitex@gmail.com>"]
|
||||||
|
|
||||||
|
[dependencies]
|
1
src/main.rs
Normal file
1
src/main.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
mod syntax;
|
0
src/syntax/lexer/mod.rs
Normal file
0
src/syntax/lexer/mod.rs
Normal file
12
src/syntax/lexer/tokens.rs
Normal file
12
src/syntax/lexer/tokens.rs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
pub enum Token {
|
||||||
|
Space,
|
||||||
|
Newline,
|
||||||
|
Equal,
|
||||||
|
Plus,
|
||||||
|
Slash,
|
||||||
|
Hyphen,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub struct Span {
|
||||||
|
type
|
||||||
|
}
|
1
src/syntax/mod.rs
Normal file
1
src/syntax/mod.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
mod lexer;
|
Loading…
Reference in New Issue
Block a user