lib/string: fix and beef-up `chomp`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: eof is blocking

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: `BufferedIStream::append_line_to` does not eat `\n` per documentation

Signed-off-by: Jean Privat <jean@pryen.org>
lib/ini: fix bad subtring for path

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: document and test `append_line_to`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: `read_line` chomp EOL, like read_lines

Signed-off-by: Jean Privat <jean@pryen.org>
lib/stream: document `read_all`

Signed-off-by: Jean Privat <jean@pryen.org>
code: update clients of readline since eol is stripped

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update sav since read_line strips eol

Signed-off-by: Jean Privat <jean@pryen.org>
lib/kernel: use the legacy NI for `Pointer::free` to work with nitg_0

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/file: fix whitespace errors

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/standard/streams: Added simple error management for streams

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/file: revamp API with `Path` and a nity `FileStat`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: rename `Path` to `AStarPath`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Objective-C FFI: intro the FFI with Objective-C

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: add a general test for Objective-C without a framework

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
misc: vim syntax recognize the Objective-C syntax

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
misc: trigger for extern code blocks of Java, C++ and C are more tolerant

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/cocoa: intro the cocoa library to wrap cocoa, foundation and app_kit

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/cocoa: intro the Hello World example in Cocoa

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>