-
**Suggestion**
Provide a `%catchall token_name` syntax thingy that declares that everything that cannot be parsed as any defined token or terminal should be returned as the token `token_name`. This w…
-
While trying to parse a specific sentence from the Treebank corpus these two parsers behave strangely.
This is the sentence from treebank:
`['A', 'form', 'of', 'asbestos', 'once', 'used', '*', '*', …
-
Consider this code:
```haskell
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE RecursiveDo #-}
import Text.Earley
import Control.Applicative
data L = A | B | C deriving (Eq, Show)
lang :: Gramm…
-
We are in the process of moving a lot of the current frontend's functionality into Pyk, which is a better-understood codebase with a more modern understanding of K and its various intermediate represe…
-
It is stated that YAEP doesn't use Joop Leo's optimization, and that right recursion is fast anyways. And because of the lookahead I do believe this to be true for some grammars, but not all LR(k) gra…
-
If a parse error occurs within parentheses in function application, instead of an error at the point of the parse error, you instead get `unexpected '('` at the open parenthesis. For example:
```
>…
-
The current behavior of lambdapi is: 1. parse the file to generate a list of entries, 2. type check the file.
This is becoming an issue with the importation of Isabelle/HOL into lambdapi. For exam…
-
```
ERROR:root:parser raised exception
Traceback (most recent call last):
File "/home/aspizu/Projects/goboscript-lsp/goboscript-lsp/diag.py", line 32, in get_diagnostics
parser.parse(doctext…
-
Hi,
I've noticed an unexpected behaviour of rule priority in the default parser `"earley"`.
I'm going to describe how to reproduce the issue step-by-step, by implementing a simple propositional …
-
I made a half-assed solution for checking whether a line needs indentation, of course this is not pretty:
https://github.com/Felienne/hedy/blob/30c35fd3f0e6fdd687a9868e748d2e36c7c93f98/hedy.py#L150…