-
On [this line](https://github.com/lark-parser/lark/blob/c2a5f09ad514014f84e708672f7dd56eb70c2454/examples/python3.lark#L181), it appears that the `IMAG_NUMBER` regular expression is attempting to refe…
-
When using the example from the [OSM documentation](https://wiki.openstreetmap.org/wiki/Key:opening_hours), which has times spanning over midnight, I am getting an exception:
```python
>>> import …
klada updated
5 years ago
-
While running example codes in how to use section of [https://github.com/spdx/tools-python](README.md),
Running
```python parse_tv.py '../data/SPDXSimpleTag.tag' ```
gives following erro…
-
When runnig `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command` I get test suite hanging while compiling happy:
```
Preprocessing executable 'happy' for happy…
-
I tried to get a version of ocaml with flambda by running `opam switch create 4.06.1+trunk+flambda`, but that fails. I am using opam 2-rc1. Partial build log is attached (github wouldn't let me post t…
-
Presently, the LR(0) construction performs the following stunt:
If the shift of a non-terminal would go to a state which only ever immediately performs a unit-reduction, then:
* the corresponding …
-
Or, "Standalone `Tree` doesn't implement enough methods".
I'm trying to convert a LALR parser to standalone and then visit the tree using the `Tree` included in the standalone version. I'm using th…
-
When I use the `standard` lexer (default for `lalr` parser) sometimes it determines the longest match incorrectly.
Consider the following code:
```python
import lark
grammar = r'''
start: BIN…
-
Using `@v_args(tree=True)` on a subclass of `Transformer` doesn't have any effect. No errors, nothing - it simply doesn't change any behavior (the children are still being passed as normal).
This i…
-
I want to have a post-lexer that's essentially looks like this (with more bits of code inserted in between!)?
```python
class PostLexer:
def __init__(self):
self.always_accept = ()
…