I am by no means a SWIG expert. But would it be possible to work around the
missing discriminated union functionality by supplying a typemap and using
that to generate a set of Enums?  That would would likely result in a more
Rust-ish interface as well.


On Thu, Jun 12, 2014 at 8:50 AM, Ian Daniher <[email protected]>
wrote:

> Might be worth checking out https://github.com/kevinmehall/rust-peg.
>
>
> On Wed, Jun 11, 2014 at 2:43 AM, Akira Hayakawa <[email protected]>
> wrote:
>
>> Hi,
>>
>> Haskell's Parsec is really a good tool to parse languages.
>> Scala also has the equivalent.
>>
>> What about Rust?
>>
>> --
>> Akira Hayakawa <[email protected]>
>> _______________________________________________
>> Rust-dev mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/rust-dev
>>
>
>
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
>


-- 

"Historically, the most terrible things - war, genocide, and slavery - have
resulted not from disobedience, but from obedience"
                                                               --  Howard
Zinn
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to