Basic nim.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>