Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f6efa5b
Add dependencies: `lazy_static`, `regex`.
Sammy99jsp Dec 28, 2023
1fb8496
Write utilities for parsing.
Sammy99jsp Dec 30, 2023
5dd7344
Add dependency: `unicode_categories`
Sammy99jsp Dec 30, 2023
292242c
🧹 Add `single_char` method + Clean up.
Sammy99jsp Dec 31, 2023
c5ffee9
Add macros utility subcrate
Sammy99jsp Jan 1, 2024
7ccb807
Substitute `unicode_categories` for `finl_unicode`
Sammy99jsp Jan 2, 2024
9ffed5f
Add helper macros to macro subcrate.
Sammy99jsp Jan 2, 2024
dafd68d
Implement lexer.
Sammy99jsp Jan 2, 2024
d7addb6
Parser mostly implemented.\nNeeds more tests.
Sammy99jsp Jan 3, 2024
11b8691
Blank start.
Sammy99jsp Jan 6, 2024
0d247fd
Macros clean start.
Sammy99jsp Jan 7, 2024
71e1ced
Add dependency `thiserror`.
Sammy99jsp Jan 7, 2024
91fc6bc
Add documentation referencing, derive(Spanned) macros.
Sammy99jsp Jan 7, 2024
353e094
Add new fancy lexing utils.
Sammy99jsp Jan 7, 2024
dd5cfe6
Add support for `LineTerminator`, `WhiteSpace`
Sammy99jsp Jan 7, 2024
10c22f4
Add deps, macros crate.
Sammy99jsp Jan 26, 2024
62537ea
Blank Start.
Sammy99jsp Jan 26, 2024
12dd99b
Add reference macros.
Sammy99jsp Jan 26, 2024
81de3c7
Add utilities for tracability, and source code.
Sammy99jsp Jan 27, 2024
1bd69b0
Add `SourceFile` implementation of `Source`
Sammy99jsp Jan 27, 2024
55dd0fc
Add base traits and impls for lexing.
Sammy99jsp Jan 27, 2024
f0ff503
Add `Verbatim<STR>` primitive token.
Sammy99jsp Jan 27, 2024
27b45cd
Add `derive(Spanned)` macro.
Sammy99jsp Jan 27, 2024
fd7482e
Add `derive(Spanned)` macro.
Sammy99jsp Jan 27, 2024
127fcb8
Add `derive(Spanned)` macro.
Sammy99jsp Jan 27, 2024
0aebafe
`Spanned`: Add `impl`s for collections helpers, update docs for `#[de…
Sammy99jsp Jan 28, 2024
7b1aaca
Add utility debug functions for `LexResult`
Sammy99jsp Jan 28, 2024
e8747f5
Add impl for `Loc -> Span` conversion, and Formatting
Sammy99jsp Jan 28, 2024
0eab371
Add `verbatim!`.
Sammy99jsp Jan 28, 2024
250e4ec
Minor documentation, impls.
Sammy99jsp Jan 28, 2024
932134b
Refactor: moving `Verbatim` et al. to `lexing/utils`.
Sammy99jsp Jan 28, 2024
cfdcccf
Add `LineTerminator`, `LineTerminatorSequence`
Sammy99jsp Jan 28, 2024
6239744
Add `Comment` token support.
Sammy99jsp Jan 28, 2024
8802e9e
Add `Punctuator` + `rustfmt`
Sammy99jsp Jan 28, 2024
7836bbf
Add escape code support.
Sammy99jsp Jan 28, 2024
781ea61
Add String literal supprt, fix bug with empty Many<T>
Sammy99jsp Jan 29, 2024
8be2a3f
Pass over documentation.
Sammy99jsp Jan 29, 2024
3de6e8f
Add `unicode!`: Declarative Unicode major/minor category matching.
Sammy99jsp Jan 29, 2024
46116c5
Add `Identifier` support.
Sammy99jsp Jan 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
workspace = { members = ["macros"] }
[package]
name = "avjason"
version = "0.1.0"
Expand All @@ -6,3 +7,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.79"
finl_unicode = "1.2.0"

[dependencies.avjason-macros]
path = "./macros"
14 changes: 14 additions & 0 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "avjason-macros"
version = "0.1.0"
edition = "2021"

[lib]
proc-macro = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
proc-macro2 = "1.0.78"
quote = "1.0.35"
syn = { version = "2.0.48", features = ["full"] }
Loading