[rust-dev] Is there a Parsec equivalent in Rust?

Rick Richardson rick.richardson at gmail.com
Thu Jun 12 08:03:24 PDT 2014


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 <explodingmind at gmail.com>
wrote:

> Might be worth checking out https://github.com/kevinmehall/rust-peg.
>
>
> On Wed, Jun 11, 2014 at 2:43 AM, Akira Hayakawa <hayakawa at valinux.co.jp>
> wrote:
>
>> Hi,
>>
>> Haskell's Parsec is really a good tool to parse languages.
>> Scala also has the equivalent.
>>
>> What about Rust?
>>
>> --
>> Akira Hayakawa <hayakawa at valinux.co.jp>
>> _______________________________________________
>> Rust-dev mailing list
>> Rust-dev at mozilla.org
>> https://mail.mozilla.org/listinfo/rust-dev
>>
>
>
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140612/6d13cc68/attachment.html>


More information about the Rust-dev mailing list