DQ
c061bf5a6b
Migrate to stable strict provenance APIs and elide some redundant lifetimes ( #71 )
...
* elide unnecessary lifetimes in `PartialEq` impls for `Symbol`
* remove strict provenance polyfill after std APIs are now stable
this raises MSRV to 1.84
* elide more redundant lifetimes
---------
Co-authored-by: Domenic Quirl <DomenicQuirl@protonmail.com>
2025-02-02 18:43:46 +01:00
DQ
d602fe22eb
Support backtracking and Checkpoint
s across nodes ( #68 )
...
* Add [`GreenTreeBuilder::revert`] to support backtracking parsers
Rowan, and hence CSTree, is designed around hand-written parsers.
In particular, the APIs for *building* trees require that each token is recorded only once.
Some parsers, and especially parser combinators, use backtracking instead, where the same token may be seen multiple times.
To support this, add a new `revert` function which discards all tokens seen since the last checkpoint.
* allow checkpointing across nodes (within reason)
* clean up asserts and expand documentation
* add Changelog entry
* prepare v0.12.2 release
---------
Co-authored-by: jyn <github@jyn.dev>
Co-authored-by: Domenic Quirl <DomenicQuirl@protonmail.com>
2024-11-01 13:47:49 +01:00
DQ
7f8515844d
Prepare v0.12.1 release ( #66 )
...
* [Deps] bump indexmap to v2
* bump version to 0.12.1
---------
Co-authored-by: Domenic Quirl <DomenicQuirl@protonmail.com>
2024-08-21 18:03:21 +02:00
Domenic Quirl
1314baf058
update renamed lint that was moved into rustc
2023-08-10 19:56:46 +02:00
DQ
9c0a22f87f
Version 0.12.0 ( #60 )
2023-06-12 20:36:49 +02:00
DQ
39c8cd125e
Prepare release candidate for publishing ( #57 )
2023-04-25 20:30:18 +02:00
DQ
47179dab79
Prepare release candidate ( #55 )
2023-04-19 21:48:09 +02:00
DQ
c5279bae7d
Add derive macro for Syntax
(used to be Language
) ( #51 )
2023-04-18 20:10:35 +02:00
DQ
8750498b7a
Bump parking_lot
dependency ( #48 )
2023-04-07 18:49:00 +02:00
DQ
16f7a3bd80
Set up a module structure ( #44 )
2023-04-07 18:06:51 +02:00
Domenic Quirl
9be9dc9597
bump version to
2022-07-07 19:49:12 +02:00
DQ
21dcf99f04
Fix Stacked Borrows violations (Miri) ( #37 )
...
Co-authored-by: Domenic Quirl <DomenicQuirl@protonmail.com>
2022-07-07 19:38:14 +02:00
DQ
2ffeb0e166
Use strict provenance for pointer tagging ( #36 )
2022-07-01 10:44:24 +02:00
Domenic Quirl
152b0b0838
new version 0.11
2022-02-20 12:55:16 +01:00
Domenic Quirl
1b08c9405e
fix serde features for new resolver; new version
...
fixes doc builds
2021-10-25 12:47:43 +02:00
Domenic Quirl
4121cd0468
update to Rust 2021 edition
2021-10-25 12:36:24 +02:00
Domenic Quirl
bd52572832
bump version for new release
2021-09-17 17:30:14 +02:00
Domenic Quirl
2aaf4169da
refactor re-exports of lasso interning components and expose interned string keys
2021-09-17 16:37:15 +02:00
Domenic Quirl
e7ab5ad987
bump version for new release
2021-09-09 12:24:04 +02:00
DQ
497719770d
bump version for new release
2021-09-03 22:54:40 +02:00
Domenic Quirl
03743801ad
bump dependencies
2021-09-03 22:46:17 +02:00
Domenic Quirl
d635e0df92
bump version for new release
2021-08-31 10:18:45 +02:00
DQ
e3aa119a2b
Bump version to 0.6.1
2021-06-23 18:14:47 +02:00
Domenic Quirl
5bee3abe73
Merge branch 'master' into v0.6
2021-06-23 14:21:36 +02:00
Domenic Quirl
c539674fc7
add tree construction benchmark
2021-06-23 13:58:04 +02:00
Domenic Quirl
b3390aeea6
speed up green node building by removing copies
2021-06-23 13:42:49 +02:00
Domenic Quirl
5fa76c100b
new minor release
2021-05-08 11:40:54 +02:00
Domenic Quirl
987774d2a5
bump version to 0.4
2021-04-07 15:09:49 +02:00
DQ
0f90c3cad0
Replace vendored servo_arc
with updated triomphe
( #23 )
2021-04-07 14:54:51 +02:00
DQ
159eec3f6e
bump version for new release
2021-03-17 19:21:17 +01:00
Domenic Quirl
45b5e93bc0
bump version for 0.2.1 release
2021-02-22 19:12:20 +01:00
DQ
e5a4ba71df
Move vendored servo_arc
into crate for publishing ( #19 )
2021-02-21 21:45:55 +01:00
Domenic Quirl
b752ab4444
update version
2021-02-21 20:53:01 +01:00
Domenic Quirl
fb41635961
newtype default interner
2021-02-21 20:50:44 +01:00
DQ
fb463aef18
Make SyntaxNode
Send
and Sync
( #12 )
2021-02-04 15:58:17 +01:00
Domenic Quirl
ec8f82ed7a
add badge to README and README to Cargo.toml
2021-01-30 20:53:38 +01:00
Stu
3dbfe22bed
Serializable trees ( #11 )
...
Clean up #4 . Now everything is moved to the new design.
2021-01-27 11:44:46 +01:00
Stu
695d72e8ee
Remove smallvec ( #8 )
...
c.f. #6
2021-01-13 22:05:02 +01:00
Domenic Quirl
ac4f659470
initial commit
2021-01-13 10:23:34 +01:00