Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 22 23:47
    stephenmac7 opened #417
  • Sep 21 08:01
    lwandrebeck commented #416
  • Sep 20 18:35
    Nadrieril edited #416
  • Sep 20 18:34
    Nadrieril edited #416
  • Sep 20 18:34
    Nadrieril edited #416
  • Sep 20 18:33
    Nadrieril opened #416
  • Sep 18 20:47
    Nadrieril commented #399
  • Sep 13 03:17
    bookmoons commented #415
  • Sep 13 03:15
    bookmoons commented #412
  • Sep 13 03:15
    bookmoons opened #415
  • Sep 12 15:26
    Visic closed #413
  • Sep 12 15:26
    Visic commented #413
  • Sep 11 22:10
    bookmoons commented #412
  • Sep 11 16:25
    dragostis commented #412
  • Sep 08 01:55
    CAD97 commented #414
  • Sep 05 16:54
    yodalee edited #414
  • Sep 05 16:43
    yodalee edited #414
  • Sep 05 16:43
    yodalee opened #414
  • Sep 02 08:36

    dragostis on master

    Revert pest_derive version bump. (compare)

  • Sep 02 08:33

    dragostis on v2.1.2-pest

    (compare)

Vincent Prouillet
@Keats
I might have time to create a testcase at least though, where should it be?
Y0hy0h
@Y0hy0h
Hi! I have written a grammar for the R language and while testing it with a real world code file, I noticed that nested if statements make the parser run noticably slow. I'm not surprised that this happens, it feels like exponential complexity growth, but I was wondering whether I could do some improvements to my grammar. I've no previous experience with parsers nor PEGs.
If you'd like to have a look, I've created a bin at https://pest.rs/?bin=10fbo7#editor. You can copy and paste more while (TRUE) to the end of the file to get a feel for when it starts to become slow. (It takes a lot of nestings! :) )
By the way, pest is pretty awesome, no performance issues whatsoever except for this excessive nesting! Really cool!
Christopher Durham
@CAD97
>.> I got all excited because the pest-parser org has Actions but I still don't have access for my normal account >.>
Christopher Durham
@CAD97
image.png
Finally
Vincent Prouillet
@Keats
@dragostis where should I add a testcase for the timeout issue?
Tesla Ice Zhang‮
@ice1000
I noticed pest has got few updates lately
Andrey Cherkashin
@andoriyu
can someone help me with this: https://pest.rs/?bin=1d8kor#editor
it's matching 2 lines, but not 3
nvm missing '%' in my rules
amazing
Laurent Wandrebeck
@lwandrebeck
@andoriyu : would you be working on stratis or something ?
Martins Talbergs
@talbergs
I see no docs for PEEK_ALL and other.. hard to scape information out from issues
Nam Jeonghyun
@cr0sh
Hi. I'm trying to fix #407 on my own, but some tests(75 out of 450) fails with initial clone setup. But travis seems good with latest commit. Did I do something wrong?
I did git clone github.com/pest-parser/pest --recursive, cargo bootstrap, cargo test with stable-x86_64-pc-windows-gnu toolchain.
Laurent Wandrebeck
@lwandrebeck
@talbergs : indeed. could you list items with missing doc and open an issue please ?
@cr0sh : trying here, will tell you asap if it fails the same way (linux)
@cr0sh : worked like a charm here, just a couple tests ignored, no fail.
Laurent Wandrebeck
@lwandrebeck
@CAD97 : I’ve just done the into_span -> as_span cleanup (I saw your branch too late…). Everything looks fine from a cargo test POV, are you to commit that one soon ?
Nam Jeonghyun
@cr0sh
@lwandrebeck Oh, I was running cargo test on workspace. Inside pest crate it worked without any errors(is it a bug or usual behavior of cargo? I'm such a rust newbie xD). Thanks!
Laurent Wandrebeck
@lwandrebeck
@cr0sh : to be clear, I’ve done git clone…; cd pest; cargo bootstrap; cargo test
Nam Jeonghyun
@cr0sh
Then it is still a problem I think... I'll try your commands on both WSL and Windows.
Laurent Wandrebeck
@lwandrebeck
I have no MS machine so I can’t help there.
Nam Jeonghyun
@cr0sh
Oh, it worked on wsl but fails on windows. So maybe it is a platform-specific bug, or my machine setup caused it. I'll try to investigate more. Thanks for your help!
Laurent Wandrebeck
@lwandrebeck
@cr0sh : you’re welcome !
Tesla Ice Zhang‮
@ice1000
I noticed pest has got few updates lately
Is there a plan for releasing a new version?
Laurent Wandrebeck
@lwandrebeck
@ice1000 : I can’t speak for @dragostis , afaik he’s very busy IRL, but I guess he’ll release a minor revision in the coming days/weeks
Laurent Wandrebeck
@lwandrebeck
did anyone have time to take a look at pest3 ?
Tesla Ice Zhang‮
@ice1000
I'll handle the IDE update once you guys have decided on the new syntaxes
Laurent Wandrebeck
@lwandrebeck
@ice1000 : I guess you are on no hurry, there’s still load of things to do for pest3 and effort is stalled these days/weeks.
Andrey Cherkashin
@andoriyu
Dragoș Tiselice
@dragostis
I believe it's safe to do a point-release on master? Sorry for the late reply; I've had quite a few things to deal with in my personal life.
Tesla Ice Zhang‮
@ice1000
Yes, it is.
Tesla Ice Zhang‮
@ice1000
I mean, it really is. My bundled pest-vm in the intellij plugin constantly panics (when a Rust app is compiled to wasm and then to Java, panicking is translated to exception throwing. IntelliJ catches exceptions thrown by plugins and provide API for error report, and for the pest plugin the error reports are opened as GitHub issues), I hope the master branch contains some fixes to it
:smile:
The error reporter does not bring the code causing the exception together with the stacktrace, cus we shouldn't upload users' codes
Tesla Ice Zhang‮
@ice1000
Pest
George Tsomlektsis
@UltraWelfare
Hello!
I have a lib project and a lib.rs file... I copy-pasted the CSV Example code and created the pest file
cargo doc, doesn't seem to generate any code
Hm seems like it did using cargo doc --all... Now the problem is that the IDE can't see the functions to autocomplete them :P
Tesla Ice Zhang‮
@ice1000
cargo doc, doesn't seem to generate any code
Hm seems like it did using cargo doc --all... Now the problem is that the IDE can't see the functions to autocomplete them :P
Install pest plugins and you at least have editing assistance for pest grammar files
Completion for Rule::<caret> is not yet available -- as intellij-rust devs claims that the completion API will not be very stable
Tesla Ice Zhang‮
@ice1000
Pest
Can we have a newer version of pest