Recent Changes - Search:

Oktatás

* Programozás 1
  + feladatsor
  + GitHub oldal

* Szkriptnyelvek
  + feladatsor
  + quick link

Teaching

* Programming 1 (BI)
  ◇ exercises
  ◇ quick link

teaching assets


Félévek

* 2025/26/2
* archívum


Linkek

* kalendárium
* tételsorok
* jegyzetek
* szakdolgozat / PhD
* ösztöndíjak
* certificates
* C lang.
* C#
* D lang.
* Java
* Nim
* Nim2
  + exercises
* XC=BASIC
* old
  ◇C++, ◇Clojure, ◇Scala


[ edit | logout ]
[ sandbox | passwd ]

Create a project

Create a folder for your project and enter it. Inside the project folder, issue the command

$ nimble init

You'll get several questions. You must decide the type of your project: is it a library or a binary project?

If you chose binary, then you will get a .nimble file and a basic source code inside the src/ folder:

$ tree
.
├── send.nimble
└── src
    └── send.nim

Simple template

If you don't want to use "nimble init", then here is a basic template. Create a project folder and put these two files in it.

$ tree
.
├── main.nim
└── main.nimble

main.nim :

#!/usr/bin/env nimbang
#off:nimbang-args c -d:release
#nimbang-settings hideDebugInfo

echo "hello"

main.nimble :

# Package

version       = "0.1.0"
author        = "..."
description   = "..."
license       = "MIT"
# srcDir        = "src"
# bin           = @["basic"]


# Dependencies

requires "nim >= 2.2.0"
Cloud City

  

Blogjaim, hobbi projektjeim

* The Ubuntu Incident
* Python Adventures
* @GitHub
* heroku
* extra
* haladó Python
* YouTube listák


Debrecen | la France


[ edit ]

Edit - History - Print *** Report - Recent Changes - Search
Page last modified on 2026 April 20, 22:17