sua

所属分类:工具库
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2016-08-05 22:46:46
上 传 者sh-1993
说明:  Sua是一个为Swift编程语言设置的核心库。,
(Sua is a set a core libraries for the Swift programming language.,)

文件列表:
LICENSE.txt (11358, 2016-08-05)
Package.swift (143, 2016-08-05)
Sources/ (0, 2016-08-05)
Sources/ascii.swift (848, 2016-08-05)
Sources/body_parser.swift (19954, 2016-08-05)
Sources/byte_matcher.swift (8839, 2016-08-05)
Sources/byte_stream.swift (48686, 2016-08-05)
Sources/csv_table.swift (8676, 2016-08-05)
Sources/dir.swift (1079, 2016-08-05)
Sources/file.swift (15572, 2016-08-05)
Sources/file_browser.swift (3185, 2016-08-05)
Sources/file_glob.swift (13920, 2016-08-05)
Sources/glob.swift (14506, 2016-08-05)
Sources/header_parser.swift (9233, 2016-08-05)
Sources/hexa.swift (1928, 2016-08-05)
Sources/hexastyle.swift (7035, 2016-08-05)
Sources/io.swift (2317, 2016-08-05)
Sources/lang.swift (814, 2016-08-05)
Sources/lexer.swift (4940, 2016-08-05)
Sources/locale.swift (3592, 2016-08-05)
Sources/math.swift (258, 2016-08-05)
Sources/momentum.swift (6163, 2016-08-05)
Sources/murmurhash3.swift (5929, 2016-08-05)
Sources/popen.swift (1206, 2016-08-05)
Sources/rng.swift (2148, 2016-08-05)
Sources/socket.swift (9306, 2016-08-05)
Sources/stat.swift (3645, 2016-08-05)
Sources/stdin.swift (2838, 2016-08-05)
Sources/stdout.swift (302, 2016-08-05)
Sources/string.swift (4430, 2016-08-05)
Sources/sys.swift (7809, 2016-08-05)
Sources/template.swift (1995, 2016-08-05)
Sources/thread.swift (2304, 2016-08-05)
Sources/tick.swift (1112, 2016-08-05)
Sources/time.swift (10470, 2016-08-05)
docs/ (0, 2016-08-05)
docs/Data_Types.md (3464, 2016-08-05)
docs/Environment.md (3699, 2016-08-05)
... ...

Sua --- ![Sua Logo](https://github.com/jpedrosa/sua/blob/master/docs/images/sua_logo.png) Sua provides Swift users with a new set of core libraries that mostly depend on Glibc. The work on this project started on Ubuntu/Linux, but it could also be made to work on OSX by depending on Darwin there. The idea for this project started as an experiment to see how viable using Swift under Linux would be. And the results have shown that it is plenty viable. This project has quickly garnered many important classes that help with dealing with files, directories, time, some parsing, some more IO, and on we go! By starting anew, we get to pick some new API names that are shorter and sweeter. ---------- **News - January 22, 2016** Added a ton of [Glob and file path](https://github.com/jpedrosa/sua/blob/master/docs/Glob.md) related tools. Also added some more parsing related classes in [ByteMatcher](https://github.com/jpedrosa/sua/blob/master/Sources/byte_matcher.swift), [Lexer](https://github.com/jpedrosa/sua/blob/master/Sources/lexer.swift), [GlobLexer](https://github.com/jpedrosa/sua/blob/master/Sources/glob.swift), [String#utf16#endsWith](https://github.com/jpedrosa/sua/blob/master/Sources/string.swift#L130) and so on. ---------- **News - January 13, 2016** Great news! With the [Momentum](https://github.com/jpedrosa/sua/blob/master/docs/Momentum.md) web server, and a handful of supporting classes like [HeaderParser](https://github.com/jpedrosa/sua/blob/master/Sources/header_parser.swift), [BodyParser](https://github.com/jpedrosa/sua/blob/master/Sources/body_parser.swift), [Template.supplant](https://github.com/jpedrosa/sua/blob/master/Sources/template.swift), [CSVTable](https://github.com/jpedrosa/sua/blob/master/Sources/csv_table.swift), we have found a use for many APIs. It helped to put to use some of the earlier APIs, with many of them being refactored as they started to mature. ---------- **News - December 30, 2015** We have added the [LICENSE.txt](https://github.com/jpedrosa/sua/blob/master/LICENSE.txt) file and took the opportunity to rename the project to just Sua from Sua Swift. The reason for the change is to avoid using the trademarkable name Swift in the name of the project itself. It may help us to comply with the Swift license itself too. ---------- **News - December 29, 2015** I am so happy that we now have a [Time](https://github.com/jpedrosa/sua/blob/master/Sources/time.swift) class as well. It took quite a bit of work to get it off the ground. But the results have been pretty good so far. The Time class is like our own version of the DateTime class in other languages. And it has a shorter name to boot! And lots of [shortcut features](https://github.com/jpedrosa/sua/blob/master/docs/Time.md)! ---------- **News - December 25, 2015** While this project is still in an experimental phase, it has started to become more useful with classes like [FileBrowser](https://github.com/jpedrosa/sua/blob/master/Sources/file_browser.swift), [RNG](https://github.com/jpedrosa/sua/blob/master/Sources/rng.swift), [File](https://github.com/jpedrosa/sua/blob/master/Sources/file.swift), [ByteStream](https://github.com/jpedrosa/sua/blob/master/Sources/byte_stream.swift), [Stopwatch](https://github.com/jpedrosa/sua/blob/master/Sources/tick.swift), etc. We still miss a class for dealing with DateTime. And that's a big miss. But I consider this project to be worth of a version number like 0.1 at least. In my own repository I have a tag for it of 0.3.3 which coming from 0.0.1 seems like a lot of ground covered. ---------- Swift has recently been released as open source and is supported on Ubuntu. But it seems as though that the main APIs are still too heavily dependent on OSX, even if there are signs that they may be reimplementing many of the APIs on Swift itself and they may be more portable then. While Swift may come with standard libraries, the fact that Swift has great support for calling C libraries directly means that it is easy to experiment with new libraries and APIs for Swift. The combination of Swift + Linux will be explored for many years to come and it may give rise to many such libraries, until a major project based on them takes over the scene. With Sua Swift, I start on that path for leaner APIs for Swift. The examples that I come up with may help to document Swift further, if anything. Sua is a Portuguese word that means "yours". Sua Swift means "your Swift". It also is a play on how both words are pronounced, both beginning with about the same sound. Sua also resembles another programming word in Portuguese that is well known, "Lua" of the Lua programming language fame. Given how short the Sua word is, it could also be used as a prefix in some words to help to avoid name conflicts with more standard APIs. License ------- See the [LICENSE.txt](https://github.com/jpedrosa/sua/blob/master/LICENSE.txt) file. Progress Notes -------------- *LATEST* * [Hexastyle](https://github.com/jpedrosa/sua/blob/master/docs/Hexastyle.md) * [Glob and File Path](https://github.com/jpedrosa/sua/blob/master/docs/Glob.md) * [Environment](https://github.com/jpedrosa/sua/blob/master/docs/Environment.md) * [Momentum](https://github.com/jpedrosa/sua/blob/master/docs/Momentum.md) * [ServerSocket](https://github.com/jpedrosa/sua/blob/master/docs/ServerSocket.md) * [Time](https://github.com/jpedrosa/sua/blob/master/docs/Time.md) * [File Browser](https://github.com/jpedrosa/sua/blob/master/docs/File_Browser.md) * [String Extensions](https://github.com/jpedrosa/sua/blob/master/docs/String_Extensions.md) * [Data Types](https://github.com/jpedrosa/sua/blob/master/docs/Data_Types.md) * [December 11, 2015](https://github.com/jpedrosa/sua/blob/master/docs/Progress_Notes_December_11_2015.md) Contributors ------------ * Joao Pedrosa - joaopedrosa at gmail.com

近期下载者

相关文件


收藏者