Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose TransformAST api. #2868

Merged
merged 3 commits into from
May 2, 2023
Merged

Expose TransformAST api. #2868

merged 3 commits into from
May 2, 2023

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Apr 30, 2023

I have a use-case in Telplin to transform a ParsedInput (created with a specific set of defines) to an Oak. This would need a 6.1 branch.

@dawedawe you on board with having this?

@nojaf
Copy link
Contributor Author

nojaf commented Apr 30, 2023

This would also be slightly more convenient for the Oak viewer.

Copy link
Member

@dawedawe dawedawe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, if there's use for it, let's have it.

@nojaf nojaf changed the base branch from main to v6.1 May 2, 2023 07:20
@nojaf nojaf merged commit b938f4b into fsprojects:v6.1 May 2, 2023
nojaf added a commit that referenced this pull request Jun 2, 2023
* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry
nojaf added a commit that referenced this pull request Jun 19, 2023
* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry
nojaf added a commit that referenced this pull request Jun 20, 2023
* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry
nojaf added a commit that referenced this pull request Jun 20, 2023
* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry
@nojaf nojaf mentioned this pull request Jun 27, 2023
nojaf added a commit that referenced this pull request Jun 28, 2023
* Expose TransformAST api. (#2868)

* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry

* Add Changelog for 6.1 alpha 1

* Enrich transformed Oak. (#2869)

* Add Changelog for 6.1 alpha 2

* Rename FSharp.Compiler to Fantomas.FCS (#2894)

* Rename FSharp.Compiler to Fantomas.FCS

* Add release notes for 6.1.0-alpha-003.

* Update editorconfig package (#2895)

* Use EditorConfigCache.

* Clean up EditorConfig.fs(i)

* Add 6.1.0-alpha-004 to changelog.

* Add 6.1.0-alpha-005 to changelog.

* Add 6.1.0-alpha-006 to changelog.

* Add stable release
josh-degraw pushed a commit to josh-degraw/fantomas that referenced this pull request Nov 11, 2023
* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry
josh-degraw pushed a commit to josh-degraw/fantomas that referenced this pull request Jan 2, 2024
* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry
nojaf added a commit that referenced this pull request Jan 9, 2024
* Expose TransformAST api. (#2868)

* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry

* Fix issues with multiline generic type parameters

* Refactor a few things per feedback

* Updates

* Rebase and add new test

* Add one extra space to ensure expr remains an application.

* Only add extra space when in SynExpr.App

* Rebase and add new test

* Add test

* WIP

* Update tests

* Refactor test configs

* Fix issue and update newly broken tests

* Format CodePrinter

* Use more typical unit test template.

* Add additional unit tests.

* Add changelog entry

---------

Co-authored-by: Florian Verdonck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants