Commit graph

160 commits

Author SHA1 Message Date
Max Brunsfeld
ad43b211f4 Allow building the wasm libs with native emscripten instead of docker
And build them on the mac CI as well as the linux CI
2019-05-14 14:02:22 -07:00
Max Brunsfeld
b069e75149 Use branches of fixture repos with the new highlight API 2019-05-10 09:18:39 -07:00
Max Brunsfeld
9a82bd9d83 Set up code to publish web bindings to npm 2019-05-07 13:11:04 -07:00
Max Brunsfeld
3fc459a84b Reorganize language bindings
* Move rust binding: lib/binding -> lib/binding_rust
* Move wasm bindinig: lib/web -> lib/binding_web
* Add wasm readme
2019-05-07 10:41:49 -07:00
Max Brunsfeld
a6a50a6320 Avoid some bloat in wasm build 2019-05-01 12:44:58 -07:00
Max Brunsfeld
3425b6e1c2 Add wasm binding for TreeCursor 2019-04-29 13:20:09 -07:00
Chris Wendt
cff9c16ccc Increase memory limit for language wasm files (continued) 2019-04-28 14:08:40 -07:00
Max Brunsfeld
f3ecafe13b Fix inclusion of libc++ in wasm build 2019-04-27 18:06:34 -07:00
Max Brunsfeld
b4c4dc48ff Minify JS build with terser 2019-04-26 19:52:01 -07:00
Max Brunsfeld
66e006105c Build and test wasm on CI 2019-04-26 14:38:13 -07:00
Max Brunsfeld
e39d69dfa7 Add a playground to the docs site 2019-04-26 13:36:28 -07:00
Max Brunsfeld
1fc0525940 Start work on a WASM binding 2019-04-25 17:27:39 -07:00
Max Brunsfeld
5035e194ff Merge branch 'master' into node-fields 2019-03-26 11:58:21 -07:00
Max Brunsfeld
cfa474b82a test script: Find test binary correctly when -g is passed 2019-03-21 11:23:30 -07:00
Max Brunsfeld
8a675d184c test script: All tests are in the CLI package 2019-03-12 17:14:41 -07:00
Max Brunsfeld
f52271352b Merge branch 'master' into node-fields 2019-03-05 08:08:05 -08:00
Max Brunsfeld
4e059e18cb 0.14.5 2019-02-25 12:55:28 -08:00
Max Brunsfeld
18a13b457d Get basic field API working 2019-02-08 15:16:56 -08:00
Max Brunsfeld
7f66d2406f test script: Tell cargo which package has the tests 2019-02-08 15:16:56 -08:00
Max Brunsfeld
6d6e29f2dc Add usage info to version script 2019-02-06 11:56:12 -08:00
Phil Turnbull
d102c473e8 Remove invalid characters from grammar names 2019-02-05 13:37:59 +00:00
Phil Turnbull
ce040e21e1 trace-pc-guard is unsupported in newer versions of clang 2019-02-05 13:35:30 +00:00
Max Brunsfeld
6ca1047bb0 Remove ci shell script 2019-02-01 20:19:38 -08:00
Max Brunsfeld
91da7206b7 Clean up environment variables after windows batch scripts 2019-02-01 15:54:34 -08:00
Max Brunsfeld
4cac85fec4 Add benchmark script
* Structure `cli` crate as both a library and an executable, so that
benchmarks can import code from the crate.
* Import macros in the Rust 2018 style.
2019-02-01 15:17:35 -08:00
Max Brunsfeld
8e198016d8 Try to make build-fuzzers script work w/ new structure & build process 2019-01-27 21:17:31 -08:00
Max Brunsfeld
5927e104c2 Check tree consistency in randomized tests 2019-01-26 22:22:29 -08:00
Max Brunsfeld
5a12fbd927 Verify changed ranges in randomized tests 2019-01-25 15:20:34 -08:00
Max Brunsfeld
233d616ebf Add random mutation tests 2019-01-25 12:05:21 -08:00
Max Brunsfeld
71357afb2f Add version script 2019-01-17 15:59:12 -08:00
Max Brunsfeld
a8292f4fe9 Load all fixture grammars dynamically
This way the build doesn't take forever any time a single grammar has 
been regenerated.
2019-01-15 13:21:48 -08:00
Max Brunsfeld
5c3c1dd0bd Get logging flags working properly with test script 2019-01-15 13:21:48 -08:00
Max Brunsfeld
b1fa49448d Regenerate parsers on CI 2019-01-14 15:09:54 -08:00
Max Brunsfeld
fab4673c14 Get fixture grammars building for library unit tests 2019-01-10 15:48:13 -08:00
Max Brunsfeld
0f2347b318 Just call the C lib 'the library' everywhere, don't call it a 'runtime' 2019-01-10 15:22:39 -08:00
Max Brunsfeld
98807d2053 Add debug and debug-graph flags to parse and test commands 2019-01-08 21:03:51 -08:00
Max Brunsfeld
f059557a9d Move parser generation code in to 'generate' module within CLI crate 2019-01-07 10:23:01 -08:00
Max Brunsfeld
dd416b0955 Update include paths to not reference 'runtime' directory 2019-01-04 17:33:34 -08:00
Max Brunsfeld
47607cecf4 Reorganize repo, add rust CLI and binding code, 2019-01-04 17:31:49 -08:00
Max Brunsfeld
d79203f58c Add test script 2018-12-13 16:42:46 -08:00
mpsijm
e0bcb27943
Pipe output of which (hash) to /dev/null 2018-11-20 22:52:44 +01:00
mpsijm
01fef6d81f
Remove -s option from which in test script
When I tried running the tests with a debugger, the script failed with the following message:

    Illegal option -s
    Usage: /usr/bin/which [-a] args
    Illegal option -s
    Usage: /usr/bin/which [-a] args
    No debugger found

In case this `-s` flag is needed for other OSes than Linux (I'm working with Ubuntu 18.04), this could be based on a `uname` check (like on line 44).
2018-11-20 10:33:48 +01:00
Max Brunsfeld
87c391f8af Use hash instead of which 2018-11-13 15:56:03 -08:00
Max Brunsfeld
62ded2aa1d Add c99 flag to build-runtime script 2018-11-13 15:46:39 -08:00
Max Brunsfeld
47918070f6 Add a single-source file way of building the runtime library 2018-11-13 15:36:21 -08:00
Max Brunsfeld
24d1e7ec7e Included embedded-template parser in randomized tests 2018-11-03 23:18:24 -07:00
Max Brunsfeld
a8bcd2ce9e Forward arguments to jekyll serve in the serve-docs script 2018-08-13 18:03:57 -07:00
Max Brunsfeld
e21b4505c8 Resume testing against master branch of fixture repos 2018-08-01 15:22:23 -07:00
Max Brunsfeld
68618f61a6 Test against immediate token branches of grammar repos 2018-08-01 14:23:52 -07:00
Max Brunsfeld
247848baf3 Return to using the master branch of tree-sitter-javascript for testing 2018-07-25 11:29:41 -07:00