No description
Find a file
2018-08-17 00:08:09 -03:00
docs Add some documentation. 2018-08-10 19:56:54 -03:00
src Add some documentation. 2018-08-10 19:56:54 -03:00
.gitignore Initial commit 2018-08-07 13:26:16 -03:00
c_alikes.nimble Update nimble version. 2018-08-17 00:08:09 -03:00
license.txt Initial commit 2018-08-07 13:26:16 -03:00
README.md Add some documentation. 2018-08-10 19:56:54 -03:00

Collection of aliases and procedures that make easier to write C in nim. ;)

Contains many aliases for the nim's keyword bitwise operators.

Nim's keyword operators don't support nim's strong-spaces feature, nor have an assigment operator version (like +=). The reuse of the logical keywords for and, or and not for the bitwise version also hinders readability somewhat and have arguably the wrong precedence. This module attempts to fix all that.

It also includes pointer arithmetic, some useful bitops (most were removed as we got the very nice bitops module in nim standard library!), and some misc aliases for shallowCopy.