-
This would be huge, but awesome. http://en.wikipedia.org/wiki/GLR_parser
zaach updated
9 years ago
-
There's a relatively new parser for markdown in Sphinx called [the myst-markdown parser](https://myst-parser.readthedocs.io/en/latest/). It allows users to write their documentation in markdown and re…
-
Let `foo.i` be:
``` c++
%module TestDefaultTemplateArg
template class Foo
{
public:
Foo(const T& theData);
private:
T myData;
};
```
Then, `swig -c++ -python foo.i` tells:
`foo.i:3: Erro…
-
The following valid C++ code results in a syntax error being issued by SWIG:
```
#include
class Value
{
template
Value(typename std::enable_if::type * = nullptr)
{
}
};
```
T…
-
I'm trying to implement a C parser using hime based on the grammar here (https://www.quut.com/c/ANSI-C-grammar-y-2011.html) and here (https://www.quut.com/c/ANSI-C-grammar-l-2011.html), and for this p…
-
The `kbuild` tool should be able to generate Bison parsers.
See this PR to `mir-semantics` for motivation: https://github.com/runtimeverification/mir-semantics/pull/66
## Interface
The target…
geo2a updated
5 months ago
-
When the parser finishes parsing the top-level non-terminal of a grammar and has reached a point in the input where it cannot perform any more parsing actions, the GLR parser *incorrectly* reports a s…
-
Конвертировал ваш модуль в Питон 3 с помощью 2to3.py, возникают проблемы с импортами:
При запуске example.py:
from .glr import GLRParser
SystemError: Parent module '' not loaded, cannot perform re…
-
The incremental GLR parsing algorithm doesn't take into account every possible alternative tokenization when looking for one that will result in a successful parse. Namely if two lexical rules can bot…
-
- [ ] Replace AST type with (basically identical) antlr-haskell AST type.
- [ ] Call ALL(\*) from the 'g4_codeGen' function when parsing G4 things (instead of GLR which grinds to a halt on large gram…