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
{{ message }}
Repository navigation
Tutorial declarations for all export-format cases #4
I'm in the midst of porting a parser from the old line format to NDJSON, and the tutorial is pretty useful for doing so, but it doesn't fully cover the export format. Here's a list of what's currently not emitted by any declaration in it:
(Also not present are binder types other than default.)
Is a PR adding declarations which force emitting each of these as well welcome for the tutorial file, or would you prefer a separate file which has an explicit goal to exercise all of the export format rather than be illustrative of the type checker features?
Relatedly is these tests might be written that way intending that they emit max / imax lines, but they don't, they just end up being:
I made due here using Init as a forcing function for the rest of the tests. I'm unlikely to get back to this rather than working on getting the actual type checker logic right so going to close I think.
Activity
nomeata commentedon Jan 25, 2026
I'd like the tutorial file to focus on the sequence of steps needed to develop a kernel.
But I'd welcome a
parser-testthat exercises all the parser things you care about, ideally all in one file.Add tutorial tests for literal nats and strs.
Julian commentedon Feb 1, 2026
I made due here using
Initas a forcing function for the rest of the tests. I'm unlikely to get back to this rather than working on getting the actual type checker logic right so going to close I think.Merge pull request #4 from jasisz/pestka-0.2.1