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

WXF functions BinarySerialize, BinaryDeserialize #98

Closed
axkr opened this issue Oct 20, 2018 · 0 comments
Closed

WXF functions BinarySerialize, BinaryDeserialize #98

axkr opened this issue Oct 20, 2018 · 0 comments
Labels
help wanted Your help is much appreciated

Comments

@axkr
Copy link
Owner

axkr commented Oct 20, 2018

Allow serialization and deserialization of Symja expressions into binary WXF format (create new functions BinarySerialize, BinaryDeserialize, Export, Import, ByteArray)

WXF methods are implemented in org.matheclipse.core.expression.WL.java

Opened as consequence of discussion on #96

axkr added a commit that referenced this issue Oct 20, 2018
- ByteArray object are not impleented yet
- BinarySerialize, BinaryDeserialize worked as if Normal was applied at
the moment
axkr added a commit that referenced this issue Oct 20, 2018
- ByteArray object are not implemented yet
- BinarySerialize, BinaryDeserialize worked as if Normal was applied at
the moment
@axkr axkr added the help wanted Your help is much appreciated label Oct 20, 2018
axkr added a commit that referenced this issue Oct 20, 2018
- rational, complex and numeric numbers
axkr added a commit that referenced this issue Oct 20, 2018
- Blank, Pattern, integer16, integer32 supported
- variable length of objects
- needs moree JUnit tests
axkr added a commit that referenced this issue Oct 21, 2018
- test Length Encoding (Varint)
axkr added a commit that referenced this issue Oct 21, 2018
axkr added a commit that referenced this issue Oct 22, 2018
- set Config.FILESYSTEM_ENABLED = true to enable file IO

>> Export("c:\\temp\\out.wxf",{{5.7, 4.3},{-1.2, 7.8},{a, f(x)}},"WXF")
c:\\temp\\out.wxf

>> Import("c:\\temp\\out.wxf","WXF")
{{5.7,4.3},{-1.2,7.8},{a,f(x)}}
axkr added a commit that referenced this issue Oct 27, 2018
tranleduy2000 added a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 added a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 added a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 added a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 added a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 pushed a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 pushed a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
- test Length Encoding (Varint)

(cherry picked from commit 9c402f0)
tranleduy2000 pushed a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 added a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 pushed a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
(cherry picked from commit 4630965)
tranleduy2000 pushed a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
- set Config.FILESYSTEM_ENABLED = true to enable file IO

>> Export("c:\\temp\\out.wxf",{{5.7, 4.3},{-1.2, 7.8},{a, f(x)}},"WXF")
c:\\temp\\out.wxf

>> Import("c:\\temp\\out.wxf","WXF")
{{5.7,4.3},{-1.2,7.8},{a,f(x)}}

(cherry picked from commit abc6215)
tranleduy2000 added a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
tranleduy2000 pushed a commit to tranleduy2000/symja_android_library that referenced this issue Oct 28, 2018
axkr added a commit that referenced this issue Oct 28, 2018
- TODO serialize Apfloat Apcomplex
axkr added a commit that referenced this issue Dec 9, 2018
axkr added a commit that referenced this issue Dec 9, 2018
tranleduy2000 pushed a commit to tranleduy2000/symja_android_library that referenced this issue Jan 13, 2019
@axkr axkr closed this as completed May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Your help is much appreciated
Projects
None yet
Development

No branches or pull requests

1 participant