You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't have time to do this, but here's what I'd do:
Add to DemoInfo in core/hir/attrs.rs, specifically a custom_func() attribute, where it:
Points to a Javascript file.
Lists all of the primitive inputs that the function takes.
Then under demo_gen/mod.rs, for every function you find with that attribute, copy the Javascript file to the output folder. Then add the function and parameter information to RenderInfo
This would be really nice to set up the Segmenter in ICU4X.
The text was updated successfully, but these errors were encountered:
Don't have time to do this, but here's what I'd do:
Add to
DemoInfo
incore/hir/attrs.rs
, specifically acustom_func()
attribute, where it:Then under
demo_gen/mod.rs
, for every function you find with that attribute, copy the Javascript file to the output folder. Then add the function and parameter information toRenderInfo
This would be really nice to set up the Segmenter in ICU4X.
The text was updated successfully, but these errors were encountered: