Show HN: Pest – Fast parser generator written in Rust
1–10 of 28 posts
Re: Show HN: Pest – Fast parser generator written in Rust
#2Re: Show HN: Pest – Fast parser generator written in Rust
#3I remember playing with PEGjs back in the day, making a toy implementation of JS in JS. It had terrible Unicode support though. To build a token out of valid Unicode non-whitespace characters took pages and pages of range definitions. Is that any better here?
Re: Show HN: Pest – Fast parser generator written in Rust
#4I remember playing with PEGjs back in the day, making a toy implementation of JS in JS. It had terrible Unicode support though. To build a token out of valid Unicode non-whitespace characters took pages and pages of range definitions. Is that any better here?
Rust by default uses Unicode for strings. I would be surprised if this had problems with them.
Re: Show HN: Pest – Fast parser generator written in Rust
#5Re: Show HN: Pest – Fast parser generator written in Rust
#6Shouldn't the title better by "Pest - Fast, modern parser _in_ Rust"? The current title made me think that this would be a Rust AST parser, similar to syntex.
Re: Show HN: Pest – Fast parser generator written in Rust
#7Shouldn't the title better by "Pest - Fast, modern parser _in_ Rust"? The current title made me think that this would be a Rust AST parser, similar to syntex.
Re: Show HN: Pest – Fast parser generator written in Rust
#8Re: Show HN: Pest – Fast parser generator written in Rust
#9What type of parser does this produce?
Basically, you have tools for context free grammars such as GNU Bison or Yacc. This is an alternative, but with PEG.
For more in-depth info, there's the original PEG paper. [2]
[1]: http://bford.info/packrat [2]: http://bford.info/pub/lang/peg
Re: Show HN: Pest – Fast parser generator written in Rust
#10What type of parser does this produce?