This repository was archived by the owner on Jun 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
JSX PPX V4 part2 #586
Closed
Closed
JSX PPX V4 part2 #586
Changes from 1 commit
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
4a24011
add pattern constraint in destructuring args
mununki b1706cc
fix pattern in destructuring args
mununki e2b5883
new jsx transform for lower case
mununki 7e73183
clean up applying optional attribute
mununki 1d820d8
fix tests
mununki d8bec65
update ppx v4 spec with new jsx transform
mununki 3d1aee3
add JSX V4 upgrade doc
mununki 0fa928f
Update cli/JSXV4UPGRADE.md
mununki ffa3127
apply Js.React.array fn to children
mununki 76fff14
fix test
mununki 73d7de9
Update JSXV4UPGRADE.md
cristianoc 8b042ee
new JSX mode
mununki 2e96188
missing ns.optional for forwardRef
mununki 57b7a74
fix tests
mununki d35d8cb
use React for new jsx transform, modify cli arg
mununki a2f690f
update V4 upgrade doc
mununki 355f256
fix loc for ref in forwardRef
mununki ecf6565
add jsxFragment
mununki d76e807
labelled arg for jsx_mode
mununki b4ae677
add file-level jsx config, @@jsxConfig
mununki 3367a9c
change jsx_version type to int
mununki 1cc4efc
clean up of updating jsx config
mununki 4f021c2
update V4 spec doc
mununki 6561566
Update JSXV4.md
cristianoc 1f3fb46
Update JSXV4.md
cristianoc ef3613a
Half way through making config more flexible.
cristianoc d20c974
Make config mutable.
cristianoc af563df
Make update imperative.
cristianoc e61a03c
Add str item and sig item.
cristianoc eefd1b3
Hook up config update to V4.
cristianoc 1eebb57
Rename V4-specific visitor with V4.
cristianoc 78a30dd
Move V4 inside.
cristianoc cecb147
Move V3 inside.
cristianoc 44dd625
rename
cristianoc 017c9de
Bring toplevel out.
cristianoc 4d41ef0
Move out more.
cristianoc cec6e7a
Create config early.
cristianoc 880bf04
Move config creation outside the module.
cristianoc c86b756
simplify toplevel
cristianoc 333bbe9
Same for implementation.
cristianoc 208c464
Unify V3 and V4 at top level.
cristianoc 362ea66
Include nested modules in config.
cristianoc 4b892aa
Clean up.
cristianoc 72cc0ad
Unify getMapper.
cristianoc 52ccfe4
Allow V3 to do the switch.
cristianoc 3613de9
add test for jsxConfig
mununki fa8318a
Weave the mappers together.
cristianoc a3216c8
Rename
cristianoc 4bc6f34
Another rename.
cristianoc 9ddd721
cleanup
cristianoc 0d1bcbd
Rename toplevel transforms.
cristianoc 9c500e2
Refactor V4 process structure to be more granular.
cristianoc ed58791
Inline toplevel transforms.
cristianoc 62aa219
More explicit.
cristianoc c7a10e0
In V4, gate structure item transform to V4.
cristianoc e69efff
Refactor toplevel V3.
cristianoc d5280f2
Rename V3.
cristianoc ea52f01
Make V3 structure and signature more explicit.
cristianoc a1e245a
Gate V3 structure and signature to when config version is 3.
cristianoc 483ad96
Run both V3 and V4 structure and signature now that they are gated.
cristianoc ec1cdaf
Expose the structure (signature) item transformers and call them dire…
cristianoc eb6e681
Reorganize interface a bit.
cristianoc b556a3e
Don't recursively process all the structure items at once.
cristianoc 64f49b5
Handle config update directly.
cristianoc b739cb8
Move config processing outside V4.
cristianoc b6ee674
Restore config when getting out of a submodule.
cristianoc 0951062
cleanup tranformStructureItem4
cristianoc 4b42894
fix props type params for external definition
mununki 97df3e9
clean up make props type params
mununki 0babb8c
test with jsx config update
mununki 47beff4
udpate docs
mununki b755fab
fix typo
mununki 6e90507
more concrete type for arg
mununki 247ad0c
fix test
mununki 589bdcc
fix newtype
mununki af1d52d
fix typeConstraints
mununki fb08992
keep pvb_attributes
mununki dbad398
remove unused variables, values
mununki 4cc70a0
uppercase loc to definition
mununki b128cbe
clean up
mununki 2bbf89d
clean up transforming forwardRef
mununki f4cb119
update V4 spec doc
mununki 8c62db0
change order of fields in props type record
mununki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something to test here is that this works well e.g. with generating interface files with the vscode extension.