-
I hacked [this](https://twitter.com/travisbrown/status/1253339432934969344) together as an experiment this afternoon with [J2CL](https://github.com/google/j2cl), and it's not too bad—a few Bazel build…
-
Currently we are using a parser generator, which generates a LR parser.
While discussing with @arai-a over IRC and while implementing a potential fix for #48 based on adding code using Reduce compu…
-
lib/hobbes/read/pgen/pgen.sh generates lib/hobbes/read/pgen/hexpr.parse.H, but hexpr.y includes include/hobbes/read/pgen/hexpr.parse.H instead (which lags behind the lib/ version in terms of git commi…
-
There are so many bits and pieces here:
* [x] before offending token after *LineTerminator*
* [x] before `}`
* [x] at end of do-while statement
* [x] at end of source text
* [x] at *LineTermina…
-
This is a possible enhancement that could make it easier to address some of our bugs and missing features.
The downside is that shopofy/liquid uses regex iirc so it'll be more difficult to follow t…
epage updated
4 years ago
-
Hello
I have a question regarding operator precedence. I have the following p4 representation (p4_shift_order) with this expression tree:
```c
control ingress(...) {
apply {
bit tmp…
-
Below is a simplified version of what I am exactly trying to do. The problem is equivalent as the original is too large.
Anyway, if you run this, we see the output is:
> expressions a
> expressio…
-
```
from lark import Transformer, Lark
class Var:
def __init__(self, s:str, type:str=None):
self._str = s
self._type = type
def __str__(self):
return self._str…
-
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…
-
I think it would be great to have a note in the readme file, which tells people about how complete this implementation of RST is. Even if it is simply complete, as in "translates 100% of the construct…