Hendrik van Antwerpen
627e93c552
Merge pull request #452 from github/remve-npm-action
...
Fix dependencies to allow publish
2024-07-10 17:29:05 +02:00
Hendrik van Antwerpen
9649181818
Restore versions for path dependencies, which are required to publish the crate
2024-07-10 17:18:11 +02:00
Hendrik van Antwerpen
5fcc8517eb
Remove NPM publish workflow job
2024-07-10 17:07:22 +02:00
Hendrik van Antwerpen
d7665d18b7
Merge pull request #451 from github/releases
...
New releases
2024-07-10 16:54:18 +02:00
Hendrik van Antwerpen
a68b92dde2
Improve changelog
2024-07-10 16:44:43 +02:00
Hendrik van Antwerpen
aff01c50c3
Release languages
...
- tree-sitter-stack-graphs-java v0.4.0
- tree-sitter-stack-graphs-javascript v0.2.0
- tree-sitter-stack-graphs-python v0.2.0
- tree-sitter-stack-graphs-typescript v0.3.0
2024-07-09 16:09:19 +02:00
Hendrik van Antwerpen
106c728e1d
Release tree-sitter-stack-graphs v0.9.0
...
Includes a bit of code cleanup.
2024-07-09 15:47:20 +02:00
Hendrik van Antwerpen
f715ed1ba2
Release stack-graphs v0.14.0
2024-07-09 15:09:05 +02:00
Hendrik van Antwerpen
20a255447e
Merge pull request #448 from NinoScript/update-tree-sitter-javascript
2024-07-02 13:13:39 +02:00
Cristián Arenas Ulloa
14b7556df1
Update `tree-sitter-javascript` from `0.20.3` to `0.20.4`
2024-07-01 18:14:54 -04:00
Hendrik van Antwerpen
a66702fa75
Merge pull request #442 from NinoScript/update-tree-sitter-java
...
Update `tree-sitter-java` from `0.20.0` to `0.20.2`
2024-07-01 10:52:31 +02:00
Cristián Arenas Ulloa
20ad4befe1
Update `tree-sitter-java` from `0.20.0` to `0.20.2`
2024-06-28 20:47:14 -04:00
Hendrik van Antwerpen
3c4d1a6c37
Merge pull request #438 from nohehf/fix/python-imports
2024-06-02 20:21:32 +02:00
nohehf
c7f9fd9118
fix: check that FILE_PATH variable is none everywhere
2024-06-02 16:34:44 +02:00
Hendrik van Antwerpen
6bcb5a3c3e
Invery condition
2024-06-02 11:32:08 +02:00
Hendrik van Antwerpen
a297647992
Invert condition
2024-06-02 11:31:51 +02:00
nohehf
ba1d3cd125
fix: conditionnaly load FILE_PATH
2024-06-02 00:09:42 +02:00
nohehf
5ba472ab81
style: style
2024-06-01 23:31:00 +02:00
nohehf
ad4d517bf5
chore: clenup after review
2024-06-01 14:48:42 +02:00
Hendrik van Antwerpen
63e2d6ebc3
Merge pull request #437 from nohehf/fix/ts-imports-extensions
2024-05-31 15:49:27 +02:00
nohehf
8a98dce32f
fix: add missing paths
2024-05-30 12:33:37 +02:00
nohehf
b3260536a1
feat: pass paths in globals
2024-05-30 12:20:16 +02:00
nohehf
c43fa8b1af
feat: use replace instead of custom function
2024-05-30 11:36:20 +02:00
nohehf
7621ac28eb
feat: add root path and pass file path explicitely
2024-05-28 11:04:38 +02:00
Hendrik van Antwerpen
558d1da3c2
Merge pull request #434 from nohehf/fix/python-nested-function-declaration
...
fix/python nested function declaration
2024-05-27 17:28:12 +02:00
nohehf
b049439a05
chore: remove unrelated comment
2024-05-27 15:51:15 +02:00
nohehf
d0b940e66c
fix: add auxiliary function to remove file ext
2024-05-27 15:46:35 +02:00
nohehf
7509f09fdb
chore: fmt
...
Co-authored-by: Hendrik van Antwerpen <hendrik@van-antwerpen.net>
2024-05-27 14:17:55 +02:00
nohehf
3d283157bc
fix: ignore .ts and .js extensions form imports
2024-05-27 09:47:41 +02:00
nohehf
9551ad995c
chore: remove unused test tree sitter query
2024-05-23 21:59:18 +02:00
nohehf
b020128c0e
fix: method self
2024-05-23 21:52:50 +02:00
nohehf
5164f4b19f
test: not a method
2024-05-23 11:11:51 +02:00
nohehf
3dfe218ef2
test: nested function test
2024-05-23 10:23:22 +02:00
nohehf
9108b89f01
Merge branch 'github:main' into fix/python-nested-function-declaration
2024-05-23 10:22:29 +02:00
nohehf
3f1ebc2f2e
test: add nested functions
2024-05-23 10:20:25 +02:00
Hendrik van Antwerpen
ea70811f3e
Merge pull request #433 from github/add-tsx-to-cli
...
Always enable both TS & TSX in CLI
2024-05-15 15:05:33 +02:00
Hendrik van Antwerpen
051c82efa9
Merge pull request #426 from github/issue-403
...
Add lambda support
2024-05-15 15:05:15 +02:00
Hendrik van Antwerpen
36f83ea6b2
Update version and changelog
2024-05-15 12:14:44 +02:00
Hendrik van Antwerpen
b533b31add
Always enable both TS & TSX in CLI
2024-05-15 12:04:21 +02:00
Hendrik van Antwerpen
56a619fae2
Merge pull request #427 from github/hendrikvanantwerpen/cache-builtins-in-tests
...
Cache partial paths for builtins when running tests
2024-04-23 15:11:58 +02:00
Hendrik van Antwerpen
6499341a53
Update changelog
2024-04-23 13:55:37 +02:00
Hendrik van Antwerpen
f7e8984e70
Cache partial paths for builtins when running tests
2024-04-23 13:47:25 +02:00
Hendrik van Antwerpen
4ef3678a28
Add support for lambda parameters
2024-04-22 11:33:16 +02:00
Hendrik van Antwerpen
328942be77
Merge pull request #419 from github/skip-files-failing-tsg
...
Skip failed files during indexing instead of aborting the whole index operation
2024-04-10 17:58:02 +02:00
Hendrik van Antwerpen
7db914c01b
Skip failed files during indexing instead of aborting the whole index operation
2024-04-10 17:26:28 +02:00
Hendrik van Antwerpen
a8c7109b26
Merge pull request #415 from eyakubovich/ey/support-tsx-jsx-element
...
Support JSX elements in TSX
2024-03-15 19:05:52 +01:00
Eugene Yakubovich
1e1207237c
Support JSX elements in TSX
...
- Adds support for JSX elements:
<Foo attr=val>{expr}</Foo>
<Foo.Bar.Baz attr=val />
- The grammar uses nested_identifier for tags in the
Foo.Bar.Baz form. It's the same symbol as what's used
in namespaces: namespace Foo.Bar.Baz {}
As such it ends up producing a bit of junk (unconnected cliques)
but I don't know if it can be fixed w/o tree sitter queries
supporting matching only if under a specified ancestor.
- Unlike JavaScript, TypeScript requires variables to be declared.
In JSX, <foo attr={x = 1}> {y = 2} </foo> is allowed if x, y are
not in scope. They'll be created on first use. In TSX, this is
disallowed which simplifies lexical_scope propogation compared to
the JS TSG implementation.
2024-03-15 10:42:38 -07:00
Hendrik van Antwerpen
cebac484ab
Merge pull request #416 from eyakubovich/ey/err-on-unmatched-directive
...
Check for nested and unmatched directives
2024-03-15 18:37:37 +01:00
Eugene Yakubovich
b96c015ad6
Check for nested and unmatched directives
...
- Error if one #dialect directive is nested in another
- Error if #dialect is missing #end at the end of file
2024-03-15 10:23:46 -07:00
Hendrik van Antwerpen
c09f746a77
Merge pull request #409 from eyakubovich/ey/support-tsx
...
Support for TSX
2024-03-12 20:30:00 +01:00