chore: change name
This commit is contained in:
parent
d71dc7e7ca
commit
eb464f84c4
5 changed files with 1315 additions and 20 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -3,5 +3,5 @@
|
|||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "bberry"
|
||||
name = "nanoneo"
|
||||
version = "0.2.0"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[package]
|
||||
name = "bberry"
|
||||
name = "nanoneo"
|
||||
description = "lisp-like dsl which \"compiles\" into html"
|
||||
version = "0.2.0"
|
||||
edition = "2024"
|
||||
authors = ["trisuaso"]
|
||||
repository = "https://trisua.com/t/bberry.git"
|
||||
repository = "https://trisua.com/t/nanoneo.git"
|
||||
license = "AGPL-3.0-or-later"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 🫐 bberry
|
||||
# 🐈⬛ nanoneo
|
||||
|
||||
Super simple parser and "compiler" for turning a lisp-like DSL into HTML.
|
||||
|
||||
|
@ -43,7 +43,7 @@ This yields:
|
|||
|
||||
# Syntax
|
||||
|
||||
bberry has some super simple syntax helpers:
|
||||
nanoneo has some super simple syntax helpers:
|
||||
|
||||
- You can create raw HTML elements using `(text "...")` or `(tag' "...")`
|
||||
- You can add attributes using `(attr "key" "value")` or `("key" "value")`
|
||||
|
@ -53,4 +53,4 @@ bberry has some super simple syntax helpers:
|
|||
|
||||
# License
|
||||
|
||||
bberry is licensed under the [AGPL-3.0](./LICENSE).
|
||||
nanoneo is licensed under the [AGPL-3.0](./LICENSE).
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -92,7 +92,7 @@ mod test {
|
|||
.unwrap();
|
||||
|
||||
let duration = start.elapsed().unwrap();
|
||||
println!("took: {}μs", duration.as_micros());
|
||||
assert!(duration < Duration::from_micros(500))
|
||||
println!("took: {}μs", duration.as_millis());
|
||||
assert!(duration < Duration::from_millis(100))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue