Results 19 comments of Zatherz

Just spent a day debugging this issue (trying to run `xclip`/`xsel` from inside a Unity3D game).

I was going to write a PR, but I'm not decided on the API. Should the proc receive a low level state like above or should it get an Array?...

What is the type of `x` and `y` in ``` lua.function "crystal_add" do |x, y| x + y end ``` ?

That should be an alias, but with what name? `Lua::Any`? Maybe `lua.function` should look like this: ```crystal lua.function "crystal_add", Float64, Float64 do |x, y| x + y end ``` ?...

I'm on Linux, Arch Linux to be more specific. Racer 2.0.12, Rust 1.21.0.

``` $ racer complete std::string:: MATCH String,294,11,/home/zatherz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/../liballoc/string.rs,Struct,pub struct String MATCH FromUtf8Error,335,11,/home/zatherz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/../liballoc/string.rs,Struct,pub struct FromUtf8Error MATCH FromUtf16Error,360,11,/home/zatherz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/../liballoc/string.rs,Struct,pub struct FromUtf16Error(()); MATCH ParseError,1976,9,/home/zatherz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/../liballoc/string.rs,Enum,pub enum ParseError {} MATCH ToString,2027,10,/home/zatherz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/../liballoc/string.rs,Trait,pub trait ToString MATCH Drain,2200,11,/home/zatherz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/../liballoc/string.rs,Struct,pub struct Drain

Hey, how do I make that work with this? It still prints the `"`s around. Also, how can I make inserting a C# string `"\"abc\\\"\""` result in `abc"` instead of...

Yes, it's here: https://gitlab.com/Zatherz/eggshell. Relevant file: https://gitlab.com/Zatherz/eggshell/blob/master/EGGShell/EGGGrammar.cs.