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
   - munkaszüneti napok '20
* tételsorok
* jegyzetek
* szakdolgozat / PhD
* ösztöndíjak
* certificates
* C lang.
* C++
* C#
* Clojure
* D lang.
* Java
* Nim
* Nim2
* Scala


[ edit | logout ]
[ sandbox | passwd ]

Compile to JavaScript

$ nim c prg.nim

𝥶Here we use the C backend. The code is compiled to C first, and then that C code is compiled by GCC (or Clang, etc.).

However, Nim also has a JavaScript backend. You can compile your code to JavaScript:

$ nim js prg.nim             # debug version

$ nim js -d:release prg.nim  # release version

Then, you can execute the resulting JavaScript program with node.js, for instance:

$ node prg.js

If you use the JS backend, then you can use just a subset of the standard library. More info here.

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 04, 23:11