Fabio Massaioli
45b2681dfc
[v3] Fix binding generator output and import paths ( #3334 )
...
* Fix relative import path computation
* Fix models output path
* Add option to generate bindings using bundled runtime
* Update binding example
* Fix testdata
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-03-22 21:18:04 +11:00
stffabi
bfe9a9d015
[runtime] Add cancelation of bound method calls and context passing
2024-03-04 10:34:14 +01:00
Lea Anthony
2d97776caa
[bindings] Support aliases in package imports
2024-01-14 08:07:47 +11:00
Lea Anthony
b6dc199993
Update bindings tests
2024-01-07 20:11:34 +11:00
Lea Anthony
4a910a7197
Update Bindings Generation
...
Better flow for improved CLI output
Fixed number of methods calculation
2023-12-29 12:39:11 +11:00
Lea Anthony
d1255d3a9d
Support TS bindings. Update tests. Tidy up.
2023-12-23 08:49:58 +11:00
Lea Anthony
2bb25b12ff
Update bindings generator to generate bindings in packages and files.
...
Remove unused JavaScript files
Update tests.
Update v3 docs
2023-12-22 20:01:42 +11:00
Lea Anthony
472288b2e3
Support generating bindings by name
2023-12-19 21:28:23 +11:00
Lea Anthony
4b04c10f14
Support bindings, model & enum generation
2023-12-12 21:51:40 +11:00
Lea Anthony
075eb1fa3f
Update parser and bindings generation
...
Update tests
2023-11-05 18:02:36 +11:00
Travis McLane
c6ecbd56e5
[v3 examples/bindings] correct binding output + example
...
- disable output of `import <model> from models` line
- update README to generate bindings in usable location for HTML
- update HTML to reference bindings correctly
- update javascript to call and process the bound Greet function
2023-10-31 17:24:00 -05:00
Lea Anthony
b925335bbb
Fix tests
2023-09-08 14:37:07 +10:00
Lea Anthony
e5571defb7
[v3] Support bound methodID aliases. Support []any
for bindings generation. Use CallByID
in bindings.
2023-08-27 20:39:35 +10:00
Lea Anthony
0745aea4d6
[v3] Move to integer call ids for bound methods.
2023-08-19 14:25:36 +10:00
Lea Anthony
26530a0f5a
Fix reserve word check.
...
Add model generation.
Warn if field is unexported in the Go struct
2023-03-07 19:48:30 +11:00
Lea Anthony
7340247e25
Create bindings file per package
...
Improved bindings tests
2023-03-07 18:22:33 +11:00
Lea Anthony
f1a7f1b781
Improved bindings generation
2023-03-06 20:54:04 +11:00
Lea Anthony
71aa7c9731
Initial bindings.js generation
2023-03-03 19:54:12 +11:00
Lea Anthony
868b769e7f
Initial bindings generation
2023-03-01 21:31:29 +11:00