Stuff useful for Nim. Mainly coding practice in Nim.
data-structrues
: Various data structures coded in nimtrees.nim
BinaryTree
: Balanced unsorted binary tree implementation
graphs.nim
Graph
: Supports directed and undirected graphs
csv
: CSV Utilitiescsv.nim
: CSVHandler implementation for reading/modifying and saving CSVs.
tests
: Tests for the various utilities
Balanced unsorted binary tree.
Supports
- Inserting nodes
TODO:
- Deleting nodes
Supports directed and undirected graphs.
Supports
- Inserting nodes
- Deleting nodes
- Inserting edges
- Deleting edges
TODO:
- Dijkstra shortest path
Supports parsing, modifying and saving CSVs
Supports
- Loading a CSV file
- Deleting rows
- Adding rows
- Saving result to a CSV file
TODO:
- Add columns
X11 wrappers for C equivalent C functions. Automation of actions.
Requires
sudo apt-get install libx11-dev
Compilation requires the flag --passL:"-lX11"