+1 for internationalization/localization; it's complex and the solution
should be designed by the Rust team.
+1 for tokenizer, parser, just like Go has:
http://golang.org/pkg/go/
This will allow to build tools like "gofmt" (to format Rust code)
-1 for protobuf and thrift since they are not "standard". Instead, I
prefer "csv" in the standard library
* The library "math" should be in the library since it's something basic
to create things related to image and audio.
In addition a language like JavaScript comes with that library included:
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Math
El 08/04/13 16:42, Olivier Renaud escribió:
Hi,
I saw the [wanted libraries] page on the github wiki, and I'd like to submit
some ideas there.
The wiki page is read-only, so I fall back on submitting them on this list.
I tried to confine myself to what would be useful to me, in a stdlib.
* Internationalization : mechanisms for handling the internationalization of UI
texts
-> one aspect of i18n is to map a key to a text, based on the current locale
(eg Java's [ResourceBundle])
-> another aspect is to format a string based on the current locale (eg
Java's [MessageFormat])
* Libicu is already listed on the wiki, but there are no details of what is
needed. Here are my suggestions :
-> Convertions between text encodings. Ideally, with a customizable way of
handling conversion errors.
-> Unicode normalization (NFD, NFC, NFKD, NFKC)
-> Collator (locale sensitive string comparison), with a configurable degree
of strictness
* Simple (yet powerful) search on a filesystem (eg Ruby's [glob])
* A simple tokenizer/file parser
* Support to read/write zip and tar file formats (not only the gzip algorithm)
Olivier Renaud
___
[wanted libraries] https://github.com/mozilla/rust/wiki/Note-wanted-libraries
[ResourceBundle]
http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html
[MessageFormat]
http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html
[glob] http://ruby-doc.org/core-2.0/Dir.html#method-c-glob
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev