Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W42.2026 · 12–18 Oct / Issue

Lexer or parser crash while typing verbatim span

tangled · jonmsterling.com/ocaml-forester · did:plc:jjiv56ot7d6sgethto3jr3r5

The verbatim mode has a HEREDOC-like syntax like \verb<<|blahblahblah<<, where << can be anything the user wants. Unfortunately, the parser (or the lexer?) crashes if you only write \verb<<| and haven't closed the verbatim span. This causes the language server to crash.

Comments

did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

https://tangled.org/jonmsterling.com/ocaml-forester/commit/8a4fa526c4108db13a48eb7e6b1a9576af1c0693


did:plc:jjiv56ot7d6sgethto3jr3r5

NICE.