|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
TemplateHere is my basic template file that I use when I start a new Nim project: #!/usr/bin/env nimbang #off:nimbang-args c -d:release #off:nimbang-settings hideDebugInfo import std/strutils # strip, split, join import std/strformat # &"Hello {name}!" import std/sequtils # toSeq(iter), map, filter # import std/math # sum # import std/algorithm # sorted(seq), reversed(seq) # import std/tables # import std/sets # import pykot # import pykot/[console, converters, euler, fs, functional, # pretty, process, jrandom, strings, jsystem, types, web] proc main() = echo "hello" # ############################################################################ when isMainModule: main() See this link for more info about nimbang. The |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |