mlscript
mlscript copied to clipboard
Quasiquote syntax support
Support more quasiquote syntax:
- [ ] Assign
- [ ] While
- [ ] NuNew
- [ ] Tuple
- [ ] Pattern matching
Also see: #182
- [ ] A pattern like
`f(a)is always wrong, as a quotedfcan never be applied. We should issue a warning that the user probably intended to write`f`(a).
- [ ] Improve quoted blocks:
[@LPTK:] this should generate a warning as it's obviously not doing something the user expected. Similarly to`let x = a `in `log`(x) x`foo(`42)(should be`foo`(`42)).