Unfortunately lines without semicolons are a normal part of evcxr. See the evcxr_jupyter_tour.ipynb notebook for examples.
Our current strategy of wrapping the rust in a big function isn't working; rust-analyzer doesn't like the missing semicolon and fails to parse after it.
Maybe ask in a rust-analyzer issue about it?
We might need to do fancier stuff in RNLS. Which will likely require a rust parser. The ones in Hackage don't look up to date:
Unfortunately lines without semicolons are a normal part of
evcxr
. See theevcxr_jupyter_tour.ipynb
notebook for examples.Our current strategy of wrapping the rust in a big function isn't working;
rust-analyzer
doesn't like the missing semicolon and fails to parse after it.Maybe ask in a
rust-analyzer
issue about it?We might need to do fancier stuff in RNLS. Which will likely require a rust parser. The ones in Hackage don't look up to date:
https://hackage.haskell.org/package/tree-sitter-rust https://hackage.haskell.org/package/language-rust