msgpack / msgpack-smalltalk Goto Github PK
View Code? Open in Web Editor NEWMessagePack serialization library for various Smalltalk dialects / msgpack.org[Smalltalk]
Home Page: http://msgpack.org/
MessagePack serialization library for various Smalltalk dialects / msgpack.org[Smalltalk]
Home Page: http://msgpack.org/
MpPortableUtil selects MpSqPortableUtil when initializing on Pharo. (DialectSpecificClass := self subclasses at: 1
)
If I set it manually to MpPhPortableUtil and send invoke
, it works after that.
Probably because of underlying representation change, several unit test fail under Squeak 5.0.
I am not a Squeak user and have not taken a close look at this.
FYI,
-KenD
Hi!
I ported this package to Gemstone.
To make Messagepack-Core loadable into Gemstone I had to change some code due to compiler restrictions.
MpConstants implements the following reserved methods.
nil
false
true
I renamed them to
undefinedNil
boolFalse
boolTrue
This change also has to be introduced to all the senders of these methods.
All other needed changes can be handled via class extensions.
Would it be possible to add those changes to the MessagePack core?
Thanks
Sebastian
This script produces an error on Pharo 4.0 as well as on Gemstone.
The size of the to bytes converted String seems to be written wrong...
|dict|
dict := (Dictionary new at: '1234567890123456' put: data; yourself)
messagePacked: [:settings | settings stringAsBytes: true ].
Object fromMessagePack: dict setting: [:se | se bytesAsString: true.]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.