You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,11 @@ git:
27
27
28
28
## uncomment the following lines to override the default test script
29
29
script:
30
-
- julia -e 'Pkg.clone(pwd()); Pkg.test("Strs"; coverage=true)'
30
+
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
31
+
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); p="https://github.com/JuliaString"; s=".jl.git"; l="_Entities"; for n in ("StrTables", "LightXML", "JSON", "Format", "PCRE2", "InternedStrings") ; Pkg.add(n) ; end ; t=("LaTeX","Emoji","HTML","Unicode"); for n in t; Pkg.add("$n$l"); end; for n in ("APITools", "StrAPI", "CharSetEncodings", "Chars", "StrBase", "StrRegex", "StrLiterals", "StrFormat", "StrEntities") ; Pkg.clone("$p/$n$s"); end ; Pkg.clone(pwd()); for n in t; Pkg.build("$n$l"); end; Pkg.test("Strs"; coverage=true)'
32
+
#- julia -e 'Pkg.clone(pwd()); Pkg.test("Strs"; coverage=true)'
31
33
after_success:
32
34
# push coverage results to Coveralls
33
-
- julia -e 'cd(Pkg.dir("Strs")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
35
+
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("Strs")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
34
36
# push coverage results to Codecov
35
-
- julia -e 'cd(Pkg.dir("Strs")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
37
+
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("Strs")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
The `Strs` package is now working on both the release version (v0.6.2) and the latest master (v0.7.0-DEV).
12
+
10
13
It represents an attempt to give Julia better string handling than possible with Base `String` and `Char`.
11
14
12
15
I am now trying to make sure that all of the functionality in String and Char is implemented for
13
16
Str and Chr, and to start optimizing the functions (although they are already substantially faster)
14
17
15
-
I also am working on implementing full Regex support (although some changes might be needed in Base to make it work with the `r"..."` regex string macro and `Regex` type, because there are some fields missing that would be needed to handle arbitrary abstract string types).
18
+
Strs.jl is now a container for a number of different packages from [JuliaString.org](https://juliastring.org)
19
+
20
+
*[StrAPI](https://github.com/JuliaString/StrAPI.jl): Common API for string/character functionality
21
+
*[CharSetEncodings](https://github.com/JuliaString/CharSetEncodings.jl): Basic types/support for Character Sets, Encodings, and Character Set Encodings
22
+
*[Chars](https://github.com/JuliaString/Chars.jl): `Chr{CharSet,CodeUnitType}` type and support
23
+
*[StrBase](https://github.com/JuliaString/StrBase.jl): `Str{CSE, Hash, SubSet, Cache}` type
24
+
*[PCRE2](https://github.com/JuliaString/PCRE2.jl): `PCRE2` library support
25
+
*[StrRegex](https://github.com/JuliaString/StrRegex.jl): `Regex` support for all string types
26
+
*[StrLiterals](https://github.com/JuliaString/StrLiterals.jl): Extensible string literal support
27
+
*[Format](https://github.com/JuliaString/Format.jl): Python/C style formatting (based on [Formatting](https://github.com/JuliaIO/Formatting.jl)
28
+
*[StrFormat](https://github.com/JuliaString/StrFormat.jl): formatting extensions for literals
29
+
*[StrTables](https://github.com/JuliaString/StrTables.jl): low-level support for entity tables
*[StrEntities](https://github.com/JuliaString/StrEntities.jl): Entity extensions for literals
35
+
*[InternedStrings](https://github.com/JuliaString/InternedStrings.jl): save space by interning strings (by @oxinabox!)
36
+
37
+
The new package [APITools](https://github.com/JuliaString/APITools.jl) is used to set up a consistent and easy to use API for most of the cooperating packages, without having to worry too much about imports, exports, using, and what functions are part of a public API, and which ones are part of the internal development API for other packages to extend.
16
38
17
39
I would very much appreciate any constructive criticism, help implementing some of the ideas, ideas on how to make it perform better, bikeshedding on names and API, etc.
18
40
Also, I'd love contributions of benchmark code and/or samples for different use cases of strings,
@@ -85,12 +107,13 @@ There is a new API that I am working on for indexing and searching, (however the
85
107
86
108
Also there are more readable function names that always separate words with `_`, and avoid hard to understand abbreviations:
@@ -100,3 +123,30 @@ Also there are more readable function names that always separate words with `_`,
100
123
*`uppercasefirst` -> `uppercase_first`
101
124
*`startswith` -> `starts_with`
102
125
*`endswith` -> `ends_with`
126
+
127
+
* In addition, I've added `is_alphabetic`
128
+
129
+
## Kudos
130
+
131
+
Nobody is an island, and to achieve great things, one must stand on the shoulders of giants.
132
+
133
+
I would like to thank some of those giants in particular:
134
+
135
+
* The four co-creators of Julia: [Jeff Bezanson](https://github.com/JeffBezanson),[Viral B. Shah](https://github.com/ViralBShah), [Alan Edelman](https://github.com/alanedelman), and [Stefan Karpinski](https://github.com/StefanKarpinski), without their uncompromising greediness, none of this would be possible.
136
+
137
+
*[Tom Breloff](https://github.com/tbreloff), for showing how an ecosystem could be created in Julia, i.e. "Build it, and they will come", for providing some nice code in this [PR](https://github.com/JuliaIO/Formatting.jl/pull/10) (which I shamelessly pirated in order to create [Format](https://github.com/JuliaString/Format.jl), and for good advice at JuliaCon.
138
+
*[Ismael Venegas Castelló](https://twitter.com/SalchiPapa1337) for encouraging me to [tweet](https://twitter.com/GandalfSoftware) about Julia starting at the 2015 JuliaCon, for good advice, and being a great guy in general.
139
+
*[Chris Rackaukas](https://github.com/ChrisRackauckas) simply a star in Julia now, great guy, great advice, and great blogs about stuff that's usually way over my head. Julia is incredibly lucky to have him.
140
+
*[Jacob Quinn](https://github.com/quinnj), for collaborating & discussions early on in [Strings](https://github.com/quinnj/Strings.jl) on ideas for better string support in Julia, as well as a lot of hard work on things dear to me, such as databases and importing/exporting data [SQLite](https://github.com/JuliaDatabases/SQLite.jl), [ODBC](https://github.com/JuliaDatabases/ODBC.jl), [CSV](https://github.com/JuliaData/CSV.jl), [WeakRefStrings](https://github.com/JuliaData/WeakRefStrings.jl), [DataStreams](https://github.com/JuliaData/DataStreams.jl), [Feather](https://github.com/JuliaData/Feather.jl), [JSON2](https://github.com/quinnj/JSON2.jl)
141
+
*[Milan Bouchet-Valat](https://github.com/nalimilan), for discussions on string handling and encoding in [StringEncodings](https://github.com/nalimilan/StringEncodings.jl)
142
+
*[Tim Holy](https://github.com/timholy) for the famous "Holy" Trait Trick, which I use extensively in the Str* packages, for the work along with [Matt Bauman](https://github.com/mbauman) on making Julia arrays general, extensible while still performing well, and hence very useful in my work.
143
+
*[Steven G. Johnson]() for illuminating me on how one could create a whole package in very few lines of code when I first started learning Julia, see [DecFP](https://github.com/stevengj/DecFP.jl)
144
+
*[Tony Kelman](https://github.com/tkelman), for very thorough reviews of my PRs, I learned a great deal from his (and other Julians') comments), including that I didn't have to code in C anymore to get the performance I desired.
145
+
146
+
*[Lyndon White](https://github.com/oxinabox), I've already "appropriated" :grinning: his very nice [InternedStrings](https://github.com/JuliaString/InternedStrings.jl) into this package, I'm really lucky to have gotten him to join the organization!
147
+
*[Bogumił Kamiński](https://github.com/bkamins) who has been doing a great job testing and reviewing `Strs` (as well as doing the same for the string/character support in Julia Base), as well as input into the design. (Also very glad to have co-opted him to become a member of the org)
148
+
* Last but not least, Julia mathematical artist (and blogger!) extraordinaire, [Cormullion](https://github.com/cormullion), creator of our wonderful logo!
149
+
150
+
Also thanks to anybody who's answered my (sometimes stupid :grinning:) questions on [Gitter](https://gitter.im/JuliaLang/julia) and [Discourse](https://discourse.julialang.org/)
151
+
152
+
Kudos to all of the other contributors to Julia and the ever expanding Julia ecosystem!
0 commit comments