Changes in api and upwards

- Removed out-of-stack error reporting
- Revised module system to match previous Orchid system
- Errors are now in a Vec everywhere
- Implemented atoms and lexer
- Started implementation of line parser
- Tree is now ephemeral to avoid copying Atoms held inside
- Moved numbers into std and the shared parser into base
- Started implementation of Commands
This commit is contained in:
2024-07-28 23:59:55 +02:00
parent cc3699bbe7
commit 9d35ba8040
46 changed files with 1236 additions and 642 deletions

7
Cargo.lock generated
View File

@@ -476,6 +476,7 @@ dependencies = [
"hashbrown 0.14.5",
"itertools",
"lazy_static",
"never",
"orchid-api",
"orchid-api-traits",
"orchid-base",
@@ -487,12 +488,14 @@ name = "orchid-std"
version = "0.1.0"
dependencies = [
"itertools",
"never",
"once_cell",
"orchid-api",
"orchid-api-derive",
"orchid-api-traits",
"orchid-base",
"orchid-extension",
"ordered-float",
]
[[package]]
@@ -501,9 +504,9 @@ version = "0.1.0"
[[package]]
name = "ordered-float"
version = "4.2.0"
version = "4.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a76df7075c7d4d01fdcb46c912dd17fba5b60c78ea480b475f2b6ab6f666584e"
checksum = "19ff2cf528c6c03d9ed653d6c4ce1dc0582dc4af309790ad92f07c1cd551b0be"
dependencies = [
"num-traits",
]