Amaan Qureshi
1982e48568
chore: update exports to include some string.h functions
2023-07-10 15:21:39 -04:00
Andrew Hlynskyi
19bd5868eb
Fix wasm tests
2023-01-06 08:32:26 +02:00
Jonathan Arnett
e4fc6653ee
Add __cxa_atexit to exports
2022-11-15 16:39:17 -08:00
Jonathan Arnett
56e9753b5f
Add memset to exports
2022-11-15 16:39:17 -08:00
Max Brunsfeld
15190a497d
Build core wasm library with C++ exceptions disabled
2022-09-02 14:55:50 -07:00
Owen Shepherd
1aa6541476
Add realloc to wasm exports
2022-01-03 16:07:39 +00:00
Max Brunsfeld
5c2ebf093b
Include memmove symbol in wasm build
2021-09-10 15:21:55 -07:00
Andrew Hlynskyi
a286f831c7
Bump Emscripten version to 2.0.24
2021-06-30 01:06:33 +03:00
Max Brunsfeld
9d0eedc01f
Remove stray entry from wasm exported-symbol list
2021-05-20 14:33:25 -07:00
Douglas Creager
04c2aa973b
binding_web: Call correct function to reset parser
2021-05-03 14:25:57 -04:00
hvithrafn
752372ee09
Add several bindings for Language
2021-02-01 13:01:10 -07:00
Max Brunsfeld
0f492e4254
Include ts_tree_copy in wasm build
...
Fixes #846
2020-12-11 13:48:22 -08:00
Max Brunsfeld
9daec9cb22
Tweak impossible pattern error messages
2020-08-20 13:35:11 -07:00
Andy Pan
1635aab801
Fix exporting get/set timeout in web binding ( #592 )
...
* Fix exporting get/set timeout in web binding
Add two symbols "_ts_parser_set_timeout_micros", "_ts_parser_timeout_micros" due to usage in `tree-sitter.js`.
* Fix getTimeoutMicros() not returning the value
2020-04-11 08:21:59 -07:00
Max Brunsfeld
d4d554b2ae
Add wasm bindings for predicates
2019-09-16 10:25:44 -07:00
Max Brunsfeld
a1fec71b19
Tweak QueryCursor to allow iterating either matches or captures
...
For syntax highlighting, we want to iterate over all of the captures in
order, and don't care about grouping the captures by pattern.
2019-09-13 15:19:04 -07:00
Max Brunsfeld
52cda5f541
Start work on wasm binding to query API
2019-09-10 20:54:21 -07:00
Max Brunsfeld
82fab90c0b
web: Add bindings for remaining field APIs
2019-09-04 09:30:36 -07:00
Max Brunsfeld
f00b310908
wasm: Implement Node.descendantsOfType
2019-07-17 08:58:46 -07:00
Max Brunsfeld
1a33f1a665
Add TreeCursor.currentFieldName to wasm binding
2019-07-10 14:31:10 -05:00
Max Brunsfeld
0d70b485c0
Implement Wasm binding for Tree.getChangedRanges()
2019-05-09 23:52:57 -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