Max Brunsfeld
|
3ec91a8d8a
|
Wasm: When in node, use fs APIs to load language wasm files
Fixes #338
|
2019-05-23 16:12:32 -07:00 |
|
Max Brunsfeld
|
ae41a78d3c
|
Discard local emsdk changes when fetching emscripten on CI
|
2019-05-22 10:41:19 -07:00 |
|
Max Brunsfeld
|
2cbcd2b7b0
|
Merge pull request #336 from ccharles/reorder-doc-objects-for-consistency
Reorder objects in documentation for clarity
|
2019-05-21 09:03:55 -07:00 |
|
Chris Charles
|
9ce9a53298
|
Reorder objects in documentation for consistency
The documentation lists four types of objects, the C names for them,
and a summary for each. These are now shown in the same order.
|
2019-05-21 07:52:23 -04: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
|
23c6d78674
|
Fix presentation of missing nodes in parse command
|
2019-05-15 16:25:53 -07:00 |
|
Max Brunsfeld
|
af168d05ac
|
Merge pull request #333 from tree-sitter/avoid-redundant-repeat-rules
Avoid introducing certain auxiliary repeat rules in hidden rules
|
2019-05-15 13:45:14 -07:00 |
|
Max Brunsfeld
|
9674df0c54
|
Avoid introducing certain auxiliary repeat rules in hidden rules
|
2019-05-15 12:36:54 -07:00 |
|
Max Brunsfeld
|
ca2033984c
|
Merge pull request #332 from tree-sitter/web-command
Add a `web-ui` command for interactively debugging parsers in the web browser
|
2019-05-14 16:43:52 -07:00 |
|
Max Brunsfeld
|
a008ce63e6
|
Don't include wasm library in the CLI binary on windows
|
2019-05-14 15:51:12 -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
|
a1ed12f4f4
|
Start work on web UI command
|
2019-05-13 21:51:17 -07:00 |
|
Max Brunsfeld
|
7bc7306afb
|
Add a unit test for local variable tracking in syntax highlighting
|
2019-05-10 14:38:43 -07:00 |
|
Max Brunsfeld
|
cc50f4357b
|
Add missing enumerator in C header for highlighting
|
2019-05-10 14:38:19 -07:00 |
|
Max Brunsfeld
|
7a511f82ac
|
Merge pull request #331 from tree-sitter/track-locals-for-highlighting
In syntax-highlighting library, add support for tracking local variables
|
2019-05-10 12:28:43 -07:00 |
|
Max Brunsfeld
|
958ab27efb
|
Update JS highlighting unit test
|
2019-05-10 10:32:31 -07:00 |
|
Max Brunsfeld
|
e648dc8616
|
Rename TSHighlightScope -> TSHighlightValue
|
2019-05-10 10:06:05 -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
|
0d70b485c0
|
Implement Wasm binding for Tree.getChangedRanges()
|
2019-05-09 23:52:57 -07:00 |
|
Max Brunsfeld
|
b25af0f05f
|
Fix property state merging bug
|
2019-05-09 20:34:34 -07:00 |
|
Max Brunsfeld
|
a7d02e7276
|
Add support for highlight properties that track local variables
|
2019-05-09 20:34:34 -07:00 |
|
Max Brunsfeld
|
d78ac581f3
|
Rename scope -> highlight in highlighting property sheets
We need to use the word `scope` for a different purpose: tracking local
scopes.
|
2019-05-09 09:42:40 -07:00 |
|
Max Brunsfeld
|
31c2086273
|
🎨 Refactor TreePropertyCursor
|
2019-05-09 09:40:15 -07:00 |
|
Max Brunsfeld
|
7de4985a27
|
Merge pull request #330 from andycraig/update-file-locations-in-docs
Update doc example program file locations
|
2019-05-08 08:41:39 -07:00 |
|
Andrew Craig
|
bcc823984e
|
Update doc example program file locations
Update doc example program compilation instructions to be consistent
with directory structure.
|
2019-05-08 21:03:16 +09:00 |
|
Max Brunsfeld
|
9fc058656c
|
In binding_web, use prepublishOnly, not prepublish
|
2019-05-07 13:24:29 -07:00 |
|
Max Brunsfeld
|
9a82bd9d83
|
Set up code to publish web bindings to npm
|
2019-05-07 13:11:04 -07:00 |
|
Max Brunsfeld
|
572f290ec0
|
Fix highlighting in the presence of node fields
|
2019-05-07 11:17:34 -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
|
a3ceb8f3a5
|
Add link to Strange Loop talk in main docs page
|
2019-05-07 09:23:52 -07:00 |
|
Max Brunsfeld
|
a0390218a8
|
Give playground page a more specific title
|
2019-05-01 14:11:58 -07:00 |
|
Max Brunsfeld
|
a6a50a6320
|
Avoid some bloat in wasm build
|
2019-05-01 12:44:58 -07:00 |
|
Max Brunsfeld
|
7d1aa10f73
|
Update generated binding.cc to use newer NAN APIs
|
2019-04-30 17:23:36 -07:00 |
|
Max Brunsfeld
|
67fa9bdf4d
|
Use https README docs site link
|
2019-04-30 13:00:27 -07:00 |
|
Max Brunsfeld
|
73e4db41b0
|
Render syntax tree efficiently in docs playground
|
2019-04-30 11:55:30 -07:00 |
|
Max Brunsfeld
|
3425b6e1c2
|
Add wasm binding for TreeCursor
|
2019-04-29 13:20:09 -07:00 |
|
Max Brunsfeld
|
22a47b0205
|
Merge pull request #323 from chrismwendt/fix-total-memory
Increase memory limit for language wasm files (continued)
|
2019-04-28 17:30:04 -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
|
73e1512555
|
Fix playground script URL in docs site
|
2019-04-27 17:54:14 -07:00 |
|
Max Brunsfeld
|
8315a6277b
|
Increase memory limit for language wasm files
|
2019-04-27 17:54:00 -07:00 |
|
Max Brunsfeld
|
e388311fb5
|
Merge pull request #321 from tree-sitter/wasm
Add a Tree-sitter Wasm binding and a Wasm-based web playground
|
2019-04-27 17:50:41 -07:00 |
|
Max Brunsfeld
|
4febbc43f6
|
In docs playground, scroll tree whenever cursor moves
|
2019-04-27 17:32:07 -07:00 |
|
Max Brunsfeld
|
b4c4dc48ff
|
Minify JS build with terser
|
2019-04-26 19:52:01 -07:00 |
|
Max Brunsfeld
|
48743dda44
|
Get remaining wasm tests passing
|
2019-04-26 17:28:15 -07:00 |
|
Max Brunsfeld
|
66e006105c
|
Build and test wasm on CI
|
2019-04-26 14:38:13 -07:00 |
|
Max Brunsfeld
|
58e1a0fee7
|
In node range queries, treat the end coordinate as exclusive
|
2019-04-26 13:36:28 -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
|
82ccc0e56d
|
Merge pull request #319 from ervinoro/master
Allow hex characters in unicode code points
|
2019-04-09 12:13:57 -07:00 |
|