parinfer

tianshu 2018-03-06T04:14:12.000146Z

emacs can use the rust port. it's a good news

eraserhd 2018-03-06T13:44:30.000606Z

Oh, let me push what I have so far.

eraserhd 2018-03-06T13:47:27.000162Z

https://github.com/eraserhd/parinfer-rust

eraserhd 2018-03-06T13:48:33.000056Z

The only interesting deviation so far is that I renamed Result to State, because Result<> is Rust's way of handling functions which can fail.

eraserhd 2018-03-06T14:34:17.000745Z

@doglooksgood How can emacs use it? By dynamic loading?

tianshu 2018-03-06T14:50:43.000302Z

@eraserhd Yes, Emacs has a feature called dynamic module.

tianshu 2018-03-06T14:56:42.000388Z

a few days ago, I was trying to port parinfer to rust, but give up. rust is too hard for me.

eraserhd 2018-03-06T14:57:11.000578Z

Oh!

eraserhd 2018-03-06T14:58:32.000806Z

Well, contributions are welcome, as well as questions or discussion or what not.

tianshu 2018-03-06T15:02:35.000377Z

When this port is done, I want to try it with emacs.

tianshu 2018-03-06T15:02:55.000830Z

It should be much faster than the elisp version I think.