• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

davidhalter / parso / 272
89%

Build:
DEFAULT BRANCH: master
Ran 13 Jul 2019 06:05PM UTC
Jobs 8
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
272

push

travis-ci

davidhalter
Make pgen2's grammar ambiguity detection handle more cases

Under the old implementation,

```
outer: A [inner] B C
inner: B C [inner]
```

wouldn't get detected as the ambiguous grammar that it is, whereas

```
outer: A rest
rest: [inner] B C
inner: B C [inner]
```

would.

This would manifest itself as non-determinism in the DFA state
generation. See the discussion #62 on for a full explanation.

This modifies the ambiguity detection to work on a broader class of
issues, so it should now hopefully detect all cases where the given
grammar is ambiguous.

At some point, we could extend this logic to allow developers to
optionally set precedence of grammar productions, which could resolve
ambiguities, but that's not a strict requirement for parsing python.
Jobs
ID Job ID Ran Files Coverage
1 272.1 13 Jul 2019 06:05PM UTC 0
Travis Job 272.1
2 272.2 13 Jul 2019 06:05PM UTC 0
Travis Job 272.2
3 272.3 13 Jul 2019 06:05PM UTC 0
Travis Job 272.3
4 272.4 13 Jul 2019 06:05PM UTC 0
Travis Job 272.4
5 272.5 13 Jul 2019 06:05PM UTC 0
Travis Job 272.5
6 272.6 13 Jul 2019 06:06PM UTC 0
Travis Job 272.6
7 272.7 13 Jul 2019 06:07PM UTC 0
Travis Job 272.7
8 272.8 13 Jul 2019 06:07PM UTC 0
Travis Job 272.8
Source Files on build 272
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #272
  • 0032bae0 on github
  • Prev Build on master (#270)
  • Next Build on master (#273)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc