|
|
|
|
|
by c-cube
1385 days ago
|
|
Tree-sitter became somewhat popular after rust reached 1.0, as far as I can tell. I personally find rust syntax pretty neat. It's designed to be unambiguous to machines, but that also means it's unambiguous to humans. It has no () around tests, but it mandates {} because that prevents goto fail. It has the classic ML `;` as a separator, not terminator. It's a pragmatic blend of C++ (with generics, namespacing, and the C influence), and ML (expression based, easy to parse, let-binding and type inference). |
|