Interactive Nim Shell / REPL / Playground
-
Updated
Jul 1, 2021 - Nim
Nim is a general-purpose systems programming language that's designed to be efficient, expressive, and elegant. The Nim compiler produces dependency-free binaries for most platforms as well as JavaScript for the web.
First of all sorry for my english
Repro
import db_sqlite
import gatabase
include gatabase/sugar
let db = open("data.sqlite3", "", "", "")
let myTable = createTable "kitten": [
"age" := 1,
"sex" := 'f',
"name" := "unnamed",
"rank" := 3.14,
"weight" := int,
"color" := char,
"owner" := string,
"food" := float,
]
echo myTable.stringCurrently, the biggest OpenSource application using Nimview is a TODO app.
It would ve great having some other usefull application as reference project.
Created by Andreas Rumpf
Released 2008
The recaptcha library added a second overload for
initRecaptcha. Consequently,nimwcpkg/webs/captchas.nim:setupReCaptchamust provide a third argument (either aboolor aProvider) for Nim to unambiguously resolve the call. This will matter more once recaptcha stamps a new release. You may want awhen compilesguard to handle both old & new recaptcha libs.