os.nim: big refactoring, use the new pathnorm that was extracted by compiler/pathutils.nim; added os.relativePath

This commit is contained in:
Araq 2018-12-13 12:05:36 +01:00
commit 9cc4a57768
6 changed files with 424 additions and 374 deletions

View file

@ -90,6 +90,8 @@ proc enumToString*(enums: openArray[enum]): string =
- There is a new stdlib module `std/diff` to compute the famous "diff"
of two texts by line.
- Added `os.relativePath`.
### Library changes
- The string output of `macros.lispRepr` proc has been tweaked