Wilfred Hughes
43605bd5e8
Add support for Hack
2022-02-02 23:22:15 +07:00
Hugo van Rijswijk
cc651ad14a
Add Scala support
2022-01-18 12:53:02 +07:00
Wilfred Hughes
f62900c241
Prefer static strings in TreeSitterParser
...
They're always string literals and this makes the `parsers` definition
more concise.
2021-12-30 19:38:35 +07:00
Jason Shirk
ea055e6356
Fix Windows build warning
2021-12-07 09:13:54 +07:00
Wilfred Hughes
4529018d1d
Attempt to set C++ standard for Windows compilers
...
There's no helper in the cc crate for this, but it's been proposed:
https://github.com/alexcrichton/cc-rs/issues/565
Hopefully will improve #67
2021-12-05 10:43:29 +07:00
Wilfred Hughes
4f0fa617df
Don't require flags that only disable warnings
...
These flags aren't strictly required, they're only used to prevent
warnings when compiling tree-sitter parsers.
Should help with compiling on MSVC, see #63 .
2021-12-04 18:10:31 +07:00
Wilfred Hughes
c3e29ec6ad
Make build script more precise in its paths to watch
2021-11-26 23:18:17 +07:00
Wilfred Hughes
05873b546b
Add support for Common Lisp
2021-11-26 22:53:21 +07:00
Wilfred Hughes
de56eabe94
Add support for bash syntax
2021-11-24 23:53:21 +07:00
Wilfred Hughes
a5ed3fbd48
Add basic Ruby support
2021-11-20 01:08:33 +07:00
Benjamin Bannier
457b63c758
Fix building of e.g., vendor/tree-sitter-haskell-src/scanner.cc
...
At least this parser uses C++11 (lambda expressions) and C++14 features
(lambda `auto` parameter types). Since the default C++ standard of
compilers can vary, this patch explicitly sets C++14 mode when building
any vendored C++ files.
2021-09-26 19:10:09 +07:00
Wilfred Hughes
3b36e6486d
Add C# support
...
Closes #37 .
2021-09-22 22:37:53 +07:00
Wilfred Hughes
5991efdcc7
Build tree-sitter parsers in parallel
2021-09-22 22:02:07 +07:00
Wilfred Hughes
f6ada434fe
Add Haskell support
...
Fixes #36
2021-09-22 10:18:48 +07:00
Wilfred Hughes
24b2121ea2
Ignore unused parameters in C++ vendored code
...
This is occurring in tree-sitter-cpp-src/scanner.cc. It would be
better to follow-up and upstream a fix for this.
2021-09-17 22:57:06 +07:00
Wilfred Hughes
6c08507b0d
Add C++ support
2021-09-17 22:37:41 +07:00
Wilfred Hughes
fb96b0a78d
Add C support
2021-09-14 23:25:22 +07:00
Wilfred Hughes
69177cfe69
Adjust typescript symlinks so `cargo package` is happy
2021-09-14 00:28:59 +07:00
Wilfred Hughes
7af9125bb1
Add TODO for build parallelism
2021-09-11 22:22:28 +07:00
Wilfred Hughes
2ac459918a
Add support for Elixir
2021-09-06 15:09:44 +07:00
Wilfred Hughes
9f525b78d0
Configure typescript TSX
2021-09-05 19:35:23 +07:00
Wilfred Hughes
6d98fd86ab
Configure typescript parser
2021-09-05 19:26:44 +07:00
Wilfred Hughes
fcf1b8349f
cargo fmt
2021-09-04 22:19:15 +07:00
Wilfred Hughes
85f2376dbb
Add Java support
2021-09-04 18:59:16 +07:00
Wilfred Hughes
6d270d8206
Add basic python parsing support
2021-08-29 22:33:30 +07:00
Wilfred Hughes
efcb02c56c
Configure vendor/ for packaging
2021-08-24 01:02:32 +07:00
Wilfred Hughes
7e30b8cc04
Only rebuild C files if the relevant dir changes
2021-08-21 19:24:54 +07:00
Wilfred Hughes
37ea94a53d
cargo fmt
2021-08-17 09:24:18 +07:00
Wilfred Hughes
48b003eca6
Hook up tree-sitter-clojure
2021-08-16 22:26:18 +07:00
Wilfred Hughes
4fae2e9ef5
Hook up tree-sitter-ocaml for .mli files
2021-08-16 22:08:55 +07:00
Wilfred Hughes
96673ee2d6
Remove unnecessary flag
2021-08-16 22:08:38 +07:00
Wilfred Hughes
8ddb51ac82
Hook up tree-sitter-ocaml
2021-08-16 22:00:16 +07:00
Wilfred Hughes
28e824ca6c
Support C++ files in tree-sitter parsers
2021-08-16 21:48:00 +07:00
Wilfred Hughes
49d7750285
Allow each tree-sitter package to specify its files to build
2021-08-16 21:33:11 +07:00
Wilfred Hughes
7f259afc79
Hook up tree-sitter-javascript for .js and .jsx
2021-08-16 00:21:56 +07:00
Wilfred Hughes
dd92c10ce9
Hook up tree-sitter-json
2021-08-16 00:05:33 +07:00
Wilfred Hughes
0aa6245125
Hook up tree-sitter-elisp
2021-08-16 00:01:40 +07:00
Wilfred Hughes
70ef48dbb8
Hook up vendored tree-sitter-css
2021-08-15 17:06:16 +07:00
Wilfred Hughes
3eb9f3d91d
Hook up vendored tree-sitter-go
2021-08-15 17:03:47 +07:00
Wilfred Hughes
ff523a0bea
Factor out a build helper function
2021-08-15 16:52:25 +07:00
Wilfred Hughes
c80ce0d024
Use vendored tree-sitter-rust
2021-08-15 16:50:43 +07:00