You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps we can move example-archive into the CN repo, once it's split from the Cerberus repo? As remarked in the past, the example archive is less about teaching CN to new users and more for characterizing CN capabilities for us (tool developers) and for regression testing.
I hear from @dc-mak that the CN/Cerberus repo split is underway and will hopefully be complete in the not too distant future.
Reacted by Dhruv Makwana, Zain K Aamer and Mike Dodds
That would make sense. It might lead to a bit of duplication, though,
since I guess we'll want to have many of the same (larger) examples in both
places...
I think some duplication is OK? I don't think it's a problem if the tutorial examples change independently of the example archive (e.g. improving readability, adding comments, etc.), and any structural changes we need to make, like syntax changes, will be more painful due to the number of examples in the archive rather than the relatively small bit of duplication.
One other potential downside is that keeping examples in two places may
make it slightly more difficult / slightly less automatic for people
changing CN to check for regressions in the tutorial. But maybe then the
answer is actually to move the tutorial into the CN repo as well...
- B
Activity
thatplguy commentedon Jul 15, 2024
Perhaps we can move
example-archiveinto the CN repo, once it's split from the Cerberus repo? As remarked in the past, the example archive is less about teaching CN to new users and more for characterizing CN capabilities for us (tool developers) and for regression testing.I hear from @dc-mak that the CN/Cerberus repo split is underway and will hopefully be complete in the not too distant future.
bcpierce00 commentedon Jul 15, 2024
thatplguy commentedon Jul 15, 2024
I think some duplication is OK? I don't think it's a problem if the tutorial examples change independently of the example archive (e.g. improving readability, adding comments, etc.), and any structural changes we need to make, like syntax changes, will be more painful due to the number of examples in the archive rather than the relatively small bit of duplication.
bcpierce00 commentedon Jul 15, 2024
septract commentedon Jul 15, 2024
Agree. We should probably colocate
example-archivewith the CN test-cases that are already in the cerberus repo here.bcpierce00 commentedon Jul 15, 2024
cp526 commentedon Jul 16, 2024
That's what I was thinking too: having everything, including the tutorial, in one place will make the CI setup smoother.