Thanks for still supporting R2 Ashley! Great work!
It is a huge work Chris! Thanks a lot! Why did you need to overwrite PUT action? Wouldn't be better to put it in rgchris.markup object?
Thanks Chris! I think Bolek has an XML parser as well. We'll have to compare and, with luck, they can be result-format compatible.
Also, I'm going to use "untimely-end" in every program I can now. :^)
Also, really nice use of macros for compatibility.
Endo--it's a hybrid script, there's no PUT in Rebol 3/Ren-C so needed to approximate. Note that the macro clears out the assignment so it doesn't actually overwrite PUT in Red.
GreggÑI initially went with 'premature' which just didn't quite fit...
Gregg--I see it as a useful feature to quickly bridge the gap between languages initially. Optimization will likely have to happen separately.
it = macros...
Very good work Chris!
Gregg, Chris, I do, its available on my Github. Its called XML, but actually it implements lot of HTML
^^^ some of HTML quirks, to be able to parse various websites. There is also %html-tools.red in same repo, that implements some nice functions to make it easy to import HTML data (like tables) to Red (or Rebol, if someone is willing to port it).
Chris, you always do amazing, wonderful work!
Great work Chris!
I know JSON parsers are a saturated space, but I was curious once again about the Red conversion process and needed the surrogate pairs -> UTF string.
I don't really understand the surrogate pairs to UTF issue. Does AltJSON UTF-16 encode the JSON string?
Yes--it should possibly be optional, but is part of the RFC7159 spec.
It's--as I understand it--the only prescribed way to encode characters above the BMP as ascii.