may be the wrong choice for lexers, but the most simple way to test something in one hour. ;-)

I know that Rob Pike implemented the Lexer of Golang by hand.

Thanks for your feedback,

Stephane

On 27 Mar 2014, at 11:48, Daniel Fagnan wrote:

http://commandcenter.blogspot.ca/2011/08/regular-expressions-in-lexing-and.html

I can’t seem to find another blog post talking about it (I thought it was Rob Pike who wrote it), but regular expressions are the wrong choice for lexers. I used to be so dependent on regular expressions until I found out how much easier it is to write it by hand.

-Daniel

On Mar 27, 2014, at 4:41 AM, Stephane Wirtel <[email protected]> wrote:

Thanks for your feedback, I was looking for a re lib with named group because I wanted to implement a minimalist lexer.

I think I will implement my own lexer by hand without the regex.

Thanks

On 27 mars 2014, at 10:47 AM, Corey Richardson <[email protected]> wrote:

There is a ton of discussion on https://github.com/mozilla/rust/issues/3591

On Thu, Mar 27, 2014 at 4:29 AM, Daniel Fath <[email protected]> wrote:
Hi Stephane,

I think there are few libraries, but I'm unsure how complete they are,
searching Github for Rust regex yields all possible candidates.

Here is the one that seems the most recent
https://github.com/ferristseng/regex-rust

Sincerely,
Daniel


On Thu, Mar 27, 2014 at 8:58 AM, Stephane Wirtel <[email protected]> wrote:

Hi all,

Do you know a lib for the regular expressions?

Thank you

Stephane
_______________________________________________
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



--
http://octayn.net/
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev


Stéphane Wirtel - http://wirtel.be - @matrixise
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to