aquavm/crates
Ivan Boldyrev 843d2a1d7b
feat(testing-framework): testing parser improvements (#375)
* Introduce multiline call annotations

Call annotations have same format as `;`-annotations, but can allow
multiline JSON literals.  They look like `#| ...  |#` (that's Common Lisp syntax for multiline comments).

For example:

```
(call "peer_id" ("serv" "func") [a b] var)  #|
      map = {
        "0": null,
        "default": 42,
      }
   |#
```

* A JSON in the assertion parser doesn't have be last

We have been using nom's `rest` for JSON values.  Now we have a simple JSON parser
that recognizes JSON to be parsed with `serde_json`, and may have multiple JSON objects
within same assertion.

* Allow annotation after a compound form

It is attached to a rightmost nested element that has to be a `call` special form.
2022-11-25 17:56:23 +07:00
..
air-lib feat!(avm-server): Per-call current_peer_id (#381) 2022-11-25 14:59:09 +07:00
beautifier fix(deps): update all non-major rust dependencies (#338) 2022-10-15 21:08:46 +03:00
data-store fix(deps): update all non-major rust dependencies (#369) 2022-11-24 12:54:40 +03:00
interpreter-wasm ci: Update e2e (#378) 2022-11-16 14:49:51 +02:00
testing-framework feat(testing-framework): testing parser improvements (#375) 2022-11-25 17:56:23 +07:00