Commit graph

141 commits

Author SHA1 Message Date
Niko Matsakis
0b8c27bc30 rename from TrackedStruct to just Struct
this will let us use different packages
but the same struct name from salsa struct
2024-05-24 07:16:50 -04:00
Niko Matsakis
225a81ae8f update docs to mention durability 2024-05-24 07:15:40 -04:00
Niko Matsakis
05b4e3ebdc
Merge pull request #419 from kmicklas/mixed-cycle-fallback-docs
Remove inaccurate note about mixed cycles failing to recover
2024-04-24 14:26:41 +00:00
Niko Matsakis
3a15db7f36 book chapter 2024-04-02 06:08:55 -04:00
Nodir Turakulov
eeac4f8d33
Implementing the Default trait 2024-01-08 18:25:30 -08:00
Niko Matsakis
f1d318a279
Merge pull request #450 from DropDemBits/placement-new-jars
Initialize jars in-place
2023-11-09 10:25:26 +00:00
XFFXFF
fa4dc3ccfe update the link to old salsa 2023-10-29 10:05:08 +08:00
XFFXFF
c3a979f72c deploy both the latest and specified older version of salsa book 2023-10-29 10:02:29 +08:00
xffxff
739d0da4e3 add a link to the old version of Salsa in the document 2023-10-29 10:02:08 +08:00
DropDemBits
f1a141a6c0
Update "Jars and Ingredients" to reflect the in-place init changes 2023-06-18 00:13:54 -04:00
Per Vognsen
d817d14d1e Update videos.md with architecture walkthrough 2023-02-03 17:45:17 +07:00
Ken Micklas
2aea083877 Remove inaccurate note about mixed cycles failing to recover
This may have been true in the past, but both the Salsa 2022 and original tests demonstrate recovery from a cycle where only a subset of the cycle queries have recovery functions.
2022-10-02 10:40:59 +01:00
Devin Jeanpierre
71c1d2e48e Correct docs to refer to #[salsa::cycle]
Judging by the examples, `recover` is an outdated name.

E.g. https://github.com/salsa-rs/salsa/blob/master/tests/cycles.rs
2022-09-16 11:10:06 +00:00
Jack Rickard
0403696c4e
Update on-demand input docs 2022-09-16 00:14:54 +01:00
Jack Rickard
28987ed733
Move calc and lazy-input examples to examples-2022 2022-09-16 00:14:44 +01:00
zjp
549f831e70 fix typos 2022-09-02 22:44:41 +08:00
Jack Rickard
6febfdac8f
Fix derived-query-read diagram in the book
This fixes the sort order of the backgrounds in the derived query read
diagram so that the flowchart is legible.
2022-08-28 12:17:43 +01:00
Sean Chen
5aefc92d61 Remove links to removed RFCs 2022-08-25 09:23:59 -05:00
Sean Chen
2114c8ae0c Remove RFCs section of the book 2022-08-25 08:55:22 -05:00
bors[bot]
5c63715a95
Merge #381
381: fix typos r=nikomatsakis a=Aadamandersson



Co-authored-by: Adam Andersson <adam.m.andersson@gmail.com>
2022-08-25 10:34:44 +00:00
Adam Andersson
18507f2ff7 fix some typos 2022-08-24 21:12:58 +02:00
Sean Chen
b9bd1462cb Fix a merge conflict 2022-08-24 12:01:45 -05:00
Sean Chen
f2aff84b73 Merge branch 'master' of https://github.com/seanchen1991/salsa 2022-08-24 09:40:14 -05:00
Sean Chen
6eaab4f9b5 Incorporate PR feedback 2022-08-24 09:40:09 -05:00
Sean Chen
6995da0678
Expand on what dyn-safe means
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2022-08-24 09:39:28 -05:00
Andrzej Głuszak
e3f09fa122 Update book 2022-08-23 23:33:14 +02:00
Sean Chen
f4bf1626e1 Miscellaneous book revisions 2022-08-23 14:55:57 -05:00
Sean Chen
dccabdedef Revert some more 'salsa' -> 'Salsa' changes 2022-08-23 14:50:22 -05:00
Sean Chen
a756722f71 Revert 'Salsa' -> 'salsa' changes 2022-08-23 14:45:35 -05:00
Sean Chen
454e5518d2 Start proofreading the 'how salsa works' section 2022-08-22 14:16:38 -05:00
Sean Chen
0f7a8c33ae Editing overview, tutorial, and reference sections 2022-08-22 13:03:03 -05:00
Niko Matsakis
590c5ce8d3 regular structs for stmt,expr / track span
Docs are somewhat out of date.
Tracking span should enable re-use of type-check results.
2022-08-19 06:46:54 -04:00
bors[bot]
80d0d14194
Merge #359 #361
359: fix: typos in tutorial ir chapter r=nikomatsakis a=dawnofmidnight

Looking at the tutorial, I believe `ProgramSource` is a typo for `SourceProgram`. I'm also pretty sure the `define` -> `derive` is correct, unless `define` is some attribute I'm not aware of.

361: test for compiling failure: lru can not be used with specify r=nikomatsakis a=XFFXFF

ref #354  
Test for compile failures with [tybuild](https://github.com/dtolnay/trybuild.git). This is an example to show how it works.

Co-authored-by: dawn <78233879+dawnofmidnight@users.noreply.github.com>
Co-authored-by: XFFXFF <1247714429@qq.com>
2022-08-18 23:46:02 +00:00
bors[bot]
5f3e0ec6f5
Merge #353
353: start documenting plumbing r=nikomatsakis a=nikomatsakis

Feedback desired! I am trying to document an overview of the new salsa 2022 plumbing. I'd love for folks to [read these docs and tell me if they make sense](https://deploy-preview-353--salsa-rs.netlify.app/plumbing.html).

Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2022-08-18 23:43:44 +00:00
Niko Matsakis
06e0a04cb3 explain more about rev counter, include snippets 2022-08-18 19:37:59 -04:00
dawn
c0940415e3
fix: typos in tutorial ir chapter 2022-08-18 17:52:51 -04:00
Niko Matsakis
030caa1d21
Update book/src/plumbing/jars_and_ingredients.md
Co-authored-by: Mihail Mihov <mmihov.personal@gmail.com>
2022-08-18 16:21:42 -04:00
Niko Matsakis
57834c553b
Update book/src/plumbing/jars_and_ingredients.md
Co-authored-by: Mihail Mihov <mmihov.personal@gmail.com>
2022-08-18 16:21:38 -04:00
Lukas Wirth
e1a44b5d1d Add missing db param in book example 2022-08-18 13:00:43 +02:00
Niko Matsakis
b6aec13b20 explain databases, runtimes, etc 2022-08-18 05:37:22 -04:00
Niko Matsakis
a1a8533cef define how routes are created 2022-08-18 05:15:12 -04:00
Niko Matsakis
5b7dff908d create chapters 2022-08-18 05:02:07 -04:00
Niko Matsakis
5b9da4a9c0 start documenting plumbing 2022-08-17 21:43:06 -04:00
Niko Matsakis
85ea35932c update reference chapter
I'm mostly adding this commit to see if I can trick
git into behaving better.
2022-08-13 01:21:45 -04:00
Mihail Mihov
5d1ff35f6d
Merge branch 'salsa-rs:master' into master 2022-08-06 21:52:26 +03:00
Mihail Mihov
f1e6e54b57 Fix typos 2022-08-06 21:26:09 +03:00
Brian Anderson
7e72c0c3df Fix storage examples 2022-08-05 12:17:22 -06:00
Niko Matsakis
66f1f1c50c rename salsa-entity to salsa-2022 2022-08-05 13:20:14 -04:00
Niko Matsakis
39c26b5ea6 update documentation to use new name, specify
override is a keyword, turns out
2022-08-05 02:53:40 -04:00
Niko Matsakis
b4053ad76b rename references to memoized to tracked 2022-08-04 01:42:42 -04:00