treease-ts-language 0.1.8

Patched tree-sitter Language type for Treease
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <wctype.h>

int iswlower(wint_t wch) {
    return (unsigned)wch - L'a' < 26;
}

int iswupper(wint_t wch) {
    return (unsigned)wch - L'A' < 26;
}

int iswpunct(wint_t wch) {
  return (wch >= 33 && wch <= 47) ||
         (wch >= 58 && wch <= 64) ||
         (wch >= 91 && wch <= 96) ||
         (wch >= 123 && wch <= 126);
}