GitClassic
Feed
Explore
Random
Go Pro
Sign in
SergioRibera
/
srtemplate
Code
/
Commits
/ c87bf52
Merge pull request #3 from SergioRibera/custom_parser
Custom Parser from scratch
Sergio Alejandro Ribera Costa
committed on Dec 27, 2024, 06:10 AM
Showing
29
changed files
+1069 additions
-607 deletions
M
.github/workflows/ci.yml
+2
-2
M
Cargo.lock
-23
M
Cargo.toml
+3
-1
M
benches/parser.rs
+2
-8
M
examples/custom_delimiter.rs
+6
-1
M
examples/handle_errors.rs
+4
-4
M
examples/real_world/Cargo.lock
+1
-2
M
examples/real_world/default.nix
+5
-20
M
examples/real_world/flake.lock
+22
-111
M
examples/real_world/flake.nix
+3
-5
M
examples/real_world/src/main.rs
+96
-14
M
examples/variables.rs
+3
-2
M
rust-toolchain.toml
+2
-2
M
src/builtin.rs
+39
-11
M
src/builtin/os.rs
+4
-3
M
src/error.rs
+5
-5
M
src/helper/serialize.rs
+45
-2
M
src/lib.rs
+5
-5
M
src/parser.rs
+188
-23
A
src/parser/error.rs
+47
D
src/parser/function.rs
-83
A
src/parser/functions.rs
+45
A
src/parser/literals.rs
+248
M
src/parser/test.rs
+94
-114
D
src/parser/values.rs
-54
M
src/render.rs
+113
-65
M
src/template.rs
+34
-23
M
src/template/function.rs
+3
-3
M
src/template/validations.rs
+50
-21
Browse files at this commit โ