packages feed

symantic-parser-0.2.0.20210703: Hacking.md

# Hacking `symantic-parser`

## Typing
```bash
make repl
make parsers/repl
make tests/repl
make benchmarks/repl
```

## Testing
```bash
make tests
```

### Profiling
```bash
make tests/prof
make tests/prof t=.Golden.Parsers.G13
```

## Benchmarking

### Profiling

#### Time
```bash
make benchmarks/prof-time b=Brainfuck/ByteString/hanoi/'*' BENCHMARK_OPTIONS=-n1
```
Then open `symantic-parser-benchmarks.eventlog.json` with [`speedscope`](https://www.speedscope.app).

#### Heap
```bash
make benchmarks/prof-heap b=Brainfuck/ByteString/hanoi/'*' BENCHMARK_OPTIONS=-n1
```
Then open `symantic-parser-benchmakrs.eventlog.html`.