aboutsummaryrefslogtreecommitdiff
path: root/src/parser/parser.rs
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2025-07-07 18:16:35 -0500
committerAaditya Dhruv <[email protected]>2025-07-07 18:16:35 -0500
commit63dbc54db1c33e341f2e843a6c71807e51a4dd7b (patch)
tree880ddfea2639360d07430d10403747fa1c9b5823 /src/parser/parser.rs
parent348e190427c28d3985ad4c8453eeb2fdee5d4d22 (diff)
Add Lexer
Add a really basic lexer, which only lexes HASH (headings), TEXT (paragraphs), and newlines. These generated tokens will be fed into the parser
Diffstat (limited to 'src/parser/parser.rs')
-rw-r--r--src/parser/parser.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser/parser.rs b/src/parser/parser.rs
index 017ec83..53aa751 100644
--- a/src/parser/parser.rs
+++ b/src/parser/parser.rs
@@ -8,3 +8,6 @@ pub struct Heading {
size: u8,
value: Text,
}
+
+pub struct Exp {
+}