View Source SilverOrb (SilverOrb v0.0.10)
WebAssembly is low level — you essentially get to define global variables, an array of memory, and some functions to operate on them. It’s not batteries-included.
SilverOrb
provides several extra batteries so common tasks are easier. They are:
SilverOrb.Arena
allocator for memory management.SilverOrb.ASCII
(coming soon) for operating on ASCII strings.SilverOrb.UTF8
(coming soon) for operating on UTF-8 strings.SilverOrb.IntFormatter
for converting integers to strings.SilverOrb.IntParser
(coming soon) for converting strings to integers.SilverOrb.StringBuilder
for assembling strings from dynamic parts.SilverOrb.XMLBuilder
(coming soon) for assembling XML from dynamic parts.SilverOrb.FormData
(coming soon) for decoding/encodingapplication/x-www-form-urlencoded
strings.SilverOrb.URLSearchParams
(coming soon) for decoding/encoding URL query strings.SilverOrb.URL
(coming soon) for decoding/encoding URLs.SilverOrb.Request
(coming soon) for encoding HTTP/1 requests.SilverOrb.Response
(coming soon) for encoding HTTP/1 responses.SilverOrb.Iterator
(coming soon) for creating a custom sequence type that can be iterated through.