SIGN IN SIGN UP

Do not set `grammar` to `None` for new `LlamaGrammar` objects (#834)

* Do not set `grammar` to `None` for new `LlamaGrammar` objects

The `grammar` attribute is written by `init()`, but that method always
returns `None`, so `__init__()` would then discard the previously
written object.

* Add minimal test for grammar parsing
M
Maarten ter Huurne committed
c21edb6908dbad5b77b4154e79001f20b4e2658c
Parent: ef65fc5
Committed by GitHub <noreply@github.com> on 11/21/2023, 5:23:18 AM