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

[Feature Request] Copy Oak as valid F# Code #652

Open
jkone27 opened this issue Jan 5, 2025 · 2 comments
Open

[Feature Request] Copy Oak as valid F# Code #652

jkone27 opened this issue Jan 5, 2025 · 2 comments

Comments

@jkone27
Copy link

jkone27 commented Jan 5, 2025

Would be of great benefit i think to be able to directly copy F# code instead of copying a string and trying to mimic manually?

image

the Oak view is not valid F# code so devs cannot copy paste it as is, it would be great to do so, or alternatively have a utility function to convers such strings to oak code

module OakUtils = 
    // string -> Oak
    let FromToolSring str = ...
@nojaf
Copy link
Collaborator

nojaf commented Jan 5, 2025

Hmm, I guess, any reason you are not using https://edgarfgp.github.io/Fabulous.AST/

Bottomline, are you interested in contributing this feature?

@jkone27
Copy link
Author

jkone27 commented Jan 6, 2025

ah yes now i get , so apart from formatting the string and Fabulous.AST are equivalent (mostly removing range and adding parentheses or having constructor invoked correctly, nice! might be interesting to try to implement it indeed, but i am still quite a beginner :)

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

No branches or pull requests

2 participants