Xrust – XPath, XQuery, and XSLT for Rust

13 pointsposted 11 hours ago
by zdw

11 Comments

jlnthws

3 hours ago

How complete is it? I can't reach the page, it can't decide if I'm a robot or not.

brovonov

2 hours ago

On the section called The Plan

Complete the XPath 1.0 implementation. (Done!)

Implement all XSLT v1.0 functionality. (Done!)

Improve XDM, XPath; achieve v2.0 compliance.

Add v2.0 features to the XSLT engine.

Further improve XDM, XPath; achieve v3.1 compliance.

Add remaining v3.0 features to the XSLT engine.

NB. We're picking the low-hanging fruit first. So major, fundamental features of the languages are being implemented to begin with. The fine detail will be added later. Although the eventual desire is to implement all of XSLT v3.0 functionality, some more advanced features will be implemented sooner rather than later.

https://gitlab.gnome.org/World/Rust/markup-rs/xrust#the-plan

anonzzzies

6 hours ago

What is the performance? I need something that can munge terabytes of xml relatively fast if possible without stuffing it into a database.

tempaway238645

2 hours ago

Your engineers were so preoccupied with whether or not they could, they didn't stop to think if they should.

7bit

5 hours ago

> Pronounced "crust".

No, pronounced X-rust! You can't just make up pronunciation as you please. If you want people to call it that, you should have named it "Crust" in the first place. This kind of thing really grinds my gear!

betaby

an hour ago

From wikipedia

"In Modern Greek, it has two distinct pronunciations: In front of high or front vowels (/e/ or /i/) it is pronounced as a voiceless palatal fricative [ç], as in German ich or like some pronunciations of "h" in English words like hew and human. In front of low or back vowels (/a/, /o/ or /u/) and consonants, it is pronounced as a voiceless velar fricative ([x]), as in German ach or Spanish j. This distinction corresponds to the ich-Laut and ach-Laut of German."

froh42

an hour ago

"ch" sounds nothing like "k" in German. (Neither the "ich" nor the "ach" form).

You could claim it if you'd speak Bavarian (Chiemsee starts with a "k", for "Chemie" people are diveded if it's "kehmee" or "shehmee").

So don't use weirdly constructed things as names with your own pronunciation instruction. That's a tragedeigh.

eviks

3 hours ago

"To be fair" they did call it "χrust", so not X, though still wouldn't get you C

hollerith

44 minutes ago

OK, but Knuth did maintain that TeX should be pronounced like "Tek" and most people did pronounce it that way in my experience.

froh42

40 minutes ago

Knuth said it's Te<the greek X which Americans can't pronunce, so a k comes out when they try to>.