parinfer

mikeb 2017-08-09T01:39:02.803857Z

A heads up guys on the atom package in case other users are having problems, I upgraded today, and at first it didn't appear to install after restart and still showed as an available update. Also both the old and new version of the package were in packages list. This might cause some people problems, but not sure because I didn't use before un-installing the prior version. I'm on linux(solus) and the case of the name may be the cause?

cfleming 2017-08-09T02:24:51.342032Z

@shaunlebron I’ve just pushed some more changes. All paren mode tests now pass, and there’s one failing smart mode case.

cfleming 2017-08-09T02:25:14.346624Z

So there’s now just one failing indent case (the one I asked about yesterday) and one smart mode.

cfleming 2017-08-09T02:25:46.352582Z

I can’t figure out the smart mode one - it seems to be to do with how forms are pulled along with siblings, but I’m not sure.

cfleming 2017-08-09T02:27:54.375402Z

The indenting stuff for smart mode is pretty subtle, I’m not 100% convinced I have that right yet - the tests aren’t as comprehensive as for indent or paren modes yet, and there are only a couple of tests for the changes stuff.

cfleming 2017-08-09T02:28:20.380222Z

When we have this working it would be good to get it into the demo editor to get a better feel for how it’s working and to shake out any more bugs.

shaunlebron 2017-08-09T04:15:40.060127Z

@cfleming: thanks for the update. I suppose it makes more sense to do the ‘great test overhaul’ first. chris convinced me to build a better testing framework that makes it easier to add more comprehensive tests outside of the markdown docs

cfleming 2017-08-09T04:16:52.071909Z

@shaunlebron Ok, let me know how you’d like to proceed.

cfleming 2017-08-09T04:17:37.079190Z

I’d like to try to fix the remaining tests so at least this version is in a known state, and then I’ll run it against future tests as they become available.

cfleming 2017-08-09T04:18:11.084665Z

If there are more changes to parinfer mainline I can try to keep this version up to date too.

cfleming 2017-08-09T04:18:34.088430Z

When those tests pass I’ll probably port to Kotlin at that point to begin testing in Cursive.

shaunlebron 2017-08-09T04:43:41.345341Z

I’ll commit to freezing new parinfer features in core for now, and will just respond to issues from the increased test coverage and user feedback on smart mode

cfleming 2017-08-09T08:30:36.599230Z

Thanks, sounds good.

cfleming 2017-08-09T23:17:42.237642Z

@shaunlebron In my branch I’ve updated the demo editor to use the edits version.

cfleming 2017-08-09T23:17:53.240614Z

Only very superficial testing so far, but it looks good.

cfleming 2017-08-09T23:18:28.250196Z

I have to head out for a couple of hours, I’ll play around with the cases that were problematic from the tests and see if I can get them to act differently to the official version.

shaunlebron 2017-08-09T23:44:27.669262Z

good idea, playing with it my reveal some details on why they’re breaking

shaunlebron 2017-08-09T23:46:17.696563Z

I’m in full marketing mode for the new page, and trying to prevent burnout so I don’t think I can help with this edits feature until I’m done with the page next week

shaunlebron 2017-08-09T23:49:11.739235Z

the changes were small in code, but seem to be large in implications, and really cause some conceptual changes that I’ll have to really sit down and think about