Fork me on GitHub
#parinfer
<
2018-03-11
>
eraserhd00:03:51

haha. No, it's a logarithmic function. 1.5, then 1.25, then 1.125...

eraserhd00:03:34

I ended up missing some, restructuring some things for rust, and I still have one function left. But it's only used for paren mode. And since I still haven't run any of the code, I'm now going to write a little driver and or port the test driver, so that I can see whether it works

eraserhd17:03:32

All indent mode tests produce the correct output text. (Not checking tab stops or anything else yet.)

dominicm18:03:53

This is really cool. @eraserhd do you have smart mode?

eraserhd19:03:21

Not yet. As of right now, indent mode is finished and passing 100% of tests.

eraserhd19:03:26

Now on to paren mode!

eraserhd19:03:06

(Most of the code for that path has been done, just to make the tests work.)

eraserhd19:03:28

I think I'm going to keep it non-idiomatic rust so that it can be kept in sync with the JavaScript.

eraserhd20:03:26

Paren mode tests passing!