- Python 3.7
- Pipenv
$ sudo mkdir /usr/local/Frameworks
$ sudo chown $(whoami) /usr/local/Frameworks
$ brew install python
$ brew unlink python
$ brew link python
$ brew install pipenv
$ pipenv install -e .
$ pipenv shell
$ sysvis -i examples/oauth2-authorization-code-grant.sysvis -o /tmp/oauth2-authorization-code-grant
$ open /tmp/oauth2-authorization-code-grant*
Parser/Lexer code is generated using ANTLR. ANTLR is available with the following in macOS:
brew install antlr
Generating parser:
antlr4 -o sysvis/generated/ -Dlanguage=Python3 -visitor -no-listener Sysvis.g4