Proposed/Implemented New Packages for core
#978
Replies: 7 comments 5 replies
-
I wrote a basic tar and zip reader a while back, might serve as a, somewhat, useful start for Tar reader: https://gist.github.com/thebirk/4d78d0884b963ab7175e708a6933b681 |
Beta Was this translation helpful? Give feedback.
-
And my original idea to reimplementations of a map and dynamic array was not a good idea, especially since it was not idiomatic. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I wrote a package for reading and writing zip files loosely based on Go's I'm not sure if it's good enough to be included into |
Beta Was this translation helpful? Give feedback.
-
I wrote an INI parser a few months ago (https://github.com/laytan/odin-ini-parser) and just came across this issue, would this be a good fit for encoding/ini, if so, I can PR it. I am also working on a net/http like package (https://github.com/laytan/odin-http) which currently has a HTTP/1.1 server implemented. |
Beta Was this translation helpful? Give feedback.
-
I think I'm going to try taking a crack at a regexp package. Anything I should keep in mind? |
Beta Was this translation helpful? Give feedback.
-
Are there any style guidelines for writing packages for core? I've noticed they typically take an allocator as an optional argument, and that typically defaults to I will probably also take a crack at the |
Beta Was this translation helpful? Give feedback.
-
Proposed New Packages for
core
archive/tar
archive/zip
bufio
buffered I/O streamsbytes
[]byte version ofstrings
container
- more general container typesc/token
- tokenizer for C with an inline preprocessorc/parser
- parser for Ccompress/gzip
compress/lzw
compress/lz4
compress/zlib
encoding/csv
encoding/ini
encoding/punycode
(maybe?)encoding/toml
(maybe?)encoding/xml
io
generic data streamsmath/big
- arbitrary-precision arithmetic (i.e. big numbers) (integers, rationals, floating-points)net
- portable interface for network I/O (TCP/IP, UDP, Unix sockets, etc)net/http
- HTTP client and server implementationsnet/smtp
- implementation of Simple Mail Transfer Protocolodin/printer
- implements printing of AST nodes, useful for automatic formattingodin/checker
- odin semantic checker (compiler frontend)regexp
- regular expression matching, probably based on https://swtch.com/~rsc/regexp/regexp1.htmlterminal
- package to control the terminal/console, allowing for colouring and cursor moving.text/scanner
- general scanner for work on Odin/C like stringstext/template
- data-driven template generation for textual outputtime/tzdata
- embedded copy of the timezone databaseBeta Was this translation helpful? Give feedback.
All reactions