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

[experimental] fable support #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smoothdeveloper
Copy link

It is just to get the ball going, and identify potential issues in the different fable targets, not expecting this would get merged and maintained in the same fashion as the .net target.

I only had to make a mock of System.Memory, which for now will copy the array when using offsets and length that aren't corresponding to the raw input array.

There is no support for FsCheck in Fable, AFAIK, so I'll consider bringing some of the documentation examples as plain tests.

Right now in the python target:

  • printing the slicemap as string is failing, I'm suspecting it is an issue with Fable2Python
  • I needed to bind length argument of Memory constructor to a local, otherwise Fable2Python gets confused and generates len(x) (where x is of type Memory).

I'll give a shot at rust by end of the week.

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.

1 participant