-
It looks like BGP receivers in Batfish detect AS-path loops only by looking for their AS number in the first position of the AS-path. That would allow for loopy AS-paths such as A-X-Y-A-Z. In reality,…
-
Every LIstener and BaseListener java file generated in my project contains the line:
``` java
import org.antlr.v4.runtime.misc.NotNull;
```
without any references to NotNull appearing in the file.…
-
Currently, on each startup/clean, all the grammars get rebuilt in a non deterministic order.
This leads to false errors such as token file not found, and a bunch of warnings for illegal implicit token…
-
What is the status of Context cleanup in Java? Batfish (github/arifogel/batfish) uses JNI to spawn threads in parallel for an unlimited number of jobs (75 in my most recent use case), and it looks lik…
-
I wrote this small test program to demonstrate the issue:
``` java
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIdentityReference;
import com.…
-
I have a class that sets up and handles HTTP requests for me
``` python
class Client(object):
api_base = "https://api.digitalocean.com/v2/"
def get(self, url):
r = requests.get("{0}{…
-
The following is illegal, but probably shouldn't be:
```
options {
superClass = batfish.grammar.BatfishLexer;
}
```
Since I didn't want to rename my `grammar` package, I resorted to:
```
option…
-
possibly related to #2563
zfs pool worked for a while, at some point in the last few days -- maybe the last kernel update? -- something broke. There is no zfs after boot.
Modules are loaded, system…
-
May I suggest to make the "symbolic token name" available to the programmer? Currently, defining
``` antlr
STRUCT: 'struct';
LBRACE: '{';
```
produces tokens named `'struct'` and `'{'` where I would…
-
I started with an ANTLR 3 grammar (with several subordinate grammars) for parsing Cisco configuration files. It usually gets through all of my test files instantaneously from a user perspective. In th…