Commit Graph

13268 Commits (affce75a37ab620980be0c54626b0079ebb17940)
 

Author SHA1 Message Date
fwcd 8d43d90d56 Disable dependency caching 2023-06-28 17:09:41 +07:00
fwcd 4f2ec0fec1 Upgrade the actions in the other workflows too 2023-06-28 16:58:19 +07:00
fwcd ad309a5643 Add workflow_dispatch trigger 2023-06-28 16:58:19 +07:00
github-actions[bot] a2936710d0 Regenerate the parser (a0f0cd7) 2023-06-28 14:57:11 +07:00
fwcd a0f0cd7738 Upgrade actions 2023-06-28 16:54:15 +07:00
fwcd 4574cd1224 Add CI workflow for regenerating the parser 2023-06-28 16:53:02 +07:00
fwcd affcd51b5c Update to Node.js 18 in CI 2023-06-28 16:46:07 +07:00
FW 81e5d09d87
Merge branch 'main' into fix/package-info 2023-06-28 16:29:52 +07:00
fwcd 05ef579d8a Update highlight queries w.r.t current grammar 2023-06-28 16:19:13 +07:00
fwcd 1cb36ec3f1 Merge pull request #50 (syntax highlighting queries) 2023-06-28 15:47:30 +07:00
fwcd 373af34c4d Bump packages 2023-06-28 15:41:23 +07:00
FW a321f95385
Merge pull request #58 from mattmassicotte/feature/make
C Bindings
2023-06-28 15:39:50 +07:00
FW 02a8fb294a
Merge pull request #85 from brandonspark/fix-string-ends
fix: don't put string contents in string end token
2023-06-28 15:16:53 +07:00
FW eeb12e161f
Merge pull request #82 from brandonspark/not-nullable-types
feat: add not nullable types
2023-06-28 15:16:05 +07:00
Gh0u1L5 fc0ad20fce Add missing tree-sitter section in package.json 2023-06-28 16:32:42 +07:00
Yoann Padioleau 84bdf40906
Merge pull request #142 from amaanq/enum-bitfield
add multi-bitfield structs and enums with underlying types
2023-06-27 09:59:27 +07:00
Amaan Qureshi f67789cdfd
chore: add some tests 2023-06-24 17:59:39 +07:00
Amaan Qureshi b191f46285
chore: generate 2023-06-24 17:59:39 +07:00
Amaan Qureshi 5b5367c4b8
feat: add underlying types in enums, allow bitfield clauses in repeated field declarators 2023-06-24 17:59:25 +07:00
6cdh bbdb0bfbaf feat(scanner.c): rename some variable 2023-06-24 09:39:58 +07:00
6cdh 8ee9229d64 fix(scanner): free string 2023-06-24 09:25:34 +07:00
6cdh a943734201 fix(docs): again 2023-06-24 09:24:12 +07:00
6cdh ee6f56ccba fix(docs) 2023-06-24 09:23:34 +07:00
6cdh 7dd7e06d0a feat(docs): update docs 2023-06-24 09:20:15 +07:00
6cdh 73c508c95c feat(scanner): improve scanner.c and fix bugs 2023-06-24 09:07:23 +07:00
Amaan Qureshi 989c3e631a
feat: rewrite the scanner in C (#5)
It's for portability and ease of compilation
2023-06-24 08:28:26 +07:00
Yoann Padioleau 0e7b7a02b6
Merge pull request #210 from amaanq/ci-lint
Add CI scripts + linting/formatting grammar.js
2023-06-21 10:29:30 +07:00
Amaan Qureshi 72160f477d
feat(ci): add test, lint, and fuzz scripts 2023-06-20 15:12:35 +07:00
Amaan Qureshi bef54737be
feat: add eslint formatting 2023-06-20 15:12:34 +07:00
Jonatan Kłosko 7be390548a Update package-lock.json 2023-06-20 01:26:58 +07:00
Amaan Qureshi f74a75dadf
Rewrite the scanner in C (#56) 2023-06-20 00:26:27 +07:00
Yoann Padioleau 2e29f23abc
Merge pull request #209 from amaanq/rewrite-it-in-c
feat: rewrite the scanner in C
2023-06-19 09:24:22 +07:00
Amaan Qureshi d8352a82f6
chore: update manifests 2023-06-18 10:02:35 +07:00
Amaan Qureshi 10d52591d2
feat: rewrite the scanner in C 2023-06-18 03:57:22 +07:00
Anton Vodonosov 338db38330 tagging: first tests 2023-06-17 07:20:59 +07:00
Anton Vodonosov 544ca9c313 tagging: improve comments 2023-06-17 05:56:06 +07:00
Anton Vodonosov b93ac6712a tagging: improve comments 2023-06-17 05:45:53 +07:00
Alan Zimmerman 5dba13dcd5 Prepare version 0.1.0
Summary: Preparing to publish a new version of https://crates.io/crates/tree-sitter-erlang to bring in the recent changes for OTP 26 support.  And fix the ELP github CI

Reviewed By: michalmuskala, perehonchuk

Differential Revision: D46796302

fbshipit-source-id: 8320d63a5d8b3aa6829992864bf641fdea735ca5
2023-06-16 04:39:42 +07:00
6cdh 2804e03223 release: v0.2.0
* fix some number parse bug
* fully fix the problem that a number is parsed as a symbol or vice
  versa (I expect)
* reduce library size from 400k to 210k
* thanks @homedirectory
2023-06-15 11:54:06 +07:00
Yoann Padioleau d63acf7c2a
Merge pull request #208 from vladh/master
Revert "add "this" keyword"
2023-06-14 11:44:58 +07:00
Vlad-Stefan Harbuz 09caf58a4f Revert "add "this" keyword"
This reverts commit 086dd299d4.
2023-06-14 11:18:59 +07:00
Yoann Padioleau f1b2a0b210
Merge pull request #141 from JasonBrownDeveloper/offsetof
Adding support for offsetof
2023-06-14 09:51:54 +07:00
Jason Brown e1359a0a54 Adding support for offsetof 2023-06-13 15:27:02 +07:00
Tim Whiting e398400a0b
updates 2023-06-13 09:16:30 +07:00
Tim Whiting f25c18a8de
speed improvements 2023-06-13 09:12:30 +07:00
Wilfred Hughes 63a5eeaa98 Update changelog for Scala parser update
Fixes #521
2023-06-12 22:28:56 +07:00
Wilfred Hughes 9eb48ca661 Configure comments as atoms in latest scala parser 2023-06-12 22:28:01 +07:00
Wilfred Hughes ba29064643 Merge commit 'dd02e510e92e057bdcadc4def1a3b28bed5fbea3' 2023-06-12 08:21:58 +07:00
eugene yokota dd02e510e9
Merge pull request #306 from susliko/better-comments
Better comments
2023-06-12 10:16:46 +07:00
susliko 0e89e94d5f Better comments
Problem
-------
The following comment combinations are not parsed:
1. ```
// /*
// *
// */
```
2. ```
/* // */
```
Solution
-------
- set higher lexing priority for `$._comment_text` token
- include "//" as an alternative to the contents of `$.block_comment`
2023-06-12 15:51:10 +07:00