Max Brunsfeld
9323ba52c8
Minify function names in wasm build
2019-09-16 11:38:29 -07:00
Max Brunsfeld
0d913dec65
Fix layout issues in web-ui
2019-09-13 15:19:31 -07:00
Max Brunsfeld
7ad087ce27
Tweak compile flags in build-wasm script
2019-09-04 08:54:13 -07:00
Max Brunsfeld
3ac0ff2a11
Fix error in build-lib script
2019-08-30 22:07:32 -07:00
Max Brunsfeld
c5fc9d7dcb
Remove existing static library in build-lib script
2019-08-29 14:30:45 -07:00
Max Brunsfeld
84c3bf1dd9
Make scripts work when repo path contains spaces
2019-08-12 15:13:41 -07:00
Max Brunsfeld
8cdc903d0f
Print emcc version after installing emscripten
2019-08-08 10:56:48 -07:00
Max Brunsfeld
85de177524
Pin emscripten to 1.38.40 for macOS CI
...
See https://github.com/emscripten-core/emscripten/pull/9143
2019-08-08 10:23:17 -07:00
Max Brunsfeld
7005d8b9d9
Avoid printing names of all skipped tests in benchmark script
2019-08-06 12:46:46 -07:00
Max Brunsfeld
8083ae6602
benchmark: Parse each sample a configurable number of times
...
Refs #343
2019-08-02 12:04:31 -07:00
Max Brunsfeld
d84e6fafdd
Merge pull request #375 from mkrupcale/wasm-docker-selinux
...
Use Z option for docker-run volume mount
2019-07-16 15:10:42 -07:00
Max Brunsfeld
34de25ce54
Test against latest version of all fixture repos
2019-07-10 15:18:10 -05:00
Matthew Krupcale
71d96e813f
Use Z option for docker-run volume mount
...
This is necessary on systems with SELinux to prevent file permission/access errors when building WASM output
* cli/src/wasm.rs: Use Z volume mount option for docker-run
* script/build-wasm: Likewise.
2019-06-29 15:49:25 -04:00
Max Brunsfeld
177ba49e57
Add script for dumping the sizes of each symbol in a dynamic library
2019-06-16 11:17:53 -07:00
Paul Young
15bf75a2f9
Fix ALLOW_MEMORY_GROWTH setting
...
Fixes ERROR:root:ALLOW_MEMORY_GROWTH: No such file or directory ("ALLOW_MEMORY_GROWTH" was expected to be an input file, based on the commandline arguments provided) according to https://emscripten.org/docs/optimizing/Optimizing-Code.html#memory-growth
2019-06-04 17:17:25 -07:00
Max Brunsfeld
f5163126c8
generate-fixtures-wasm: handle language repos w/ multiple grammars
...
Refs tree-sitter/tree-sitter-typescript#68
2019-05-30 12:34:03 -07:00
Max Brunsfeld
314f3fa00c
generate-fixtures: handle language repos that contain multiple grammars
...
Refs tree-sitter/tree-sitter-typescript#68
2019-05-30 12:00:12 -07:00
Max Brunsfeld
ae41a78d3c
Discard local emsdk changes when fetching emscripten on CI
2019-05-22 10:41:19 -07:00
Max Brunsfeld
70038bd251
Build wasm lib with -O3
...
There doesn't seem to be much code size difference, but there's
a big performance difference.
2019-05-17 12:50:00 -07:00
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