Merge: String split
authorJean Privat <jean@pryen.org>
Fri, 12 Jun 2015 17:17:39 +0000 (13:17 -0400)
committerJean Privat <jean@pryen.org>
Fri, 12 Jun 2015 17:17:39 +0000 (13:17 -0400)
commit879f535f1819856871dab4e1ab8a239dff5c4c9c
tree493da1e94b616570bc1769003ad7ac4ecc1ca464
parentd61cf02af3d8a51080e0d7143d2116ed88c26c17
parent6f832924923810e287d4b290cd4c82a2d5edee6b
Merge: String split

Right now, the string module is over 2500 loc long.

For the mental health of the maintainer(s), it was getting too big to understand what was going on in it.

So, this PR introduces the text group in standard, string is split in several modules inside of it:

* native: Introduces NativeString
* abstract_text: Introduction of basic types
* flat: Any array-based string
* ropes: Rope-based strings

Big con: To merge this PR, bootstrap will need to support the nullable arguments syntax.

But in the meantime, please feel free to comment on the code

Pull-Request: #1400
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/standard/file.nit
lib/standard/text/abstract_text.nit
lib/standard/time.nit