all repos — min @ 8d0adb665ec4243b9d9e373f4391aa7c1be2bc72

A small but practical concatenative programming language.

core/consts.nim

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
import
  ospaths

const
  pkgName*        = "min"
  pkgVersion*     = "0.19.2"
  pkgAuthor*      = "Fabio Cevasco"
  pkgDescription* = "A tiny concatenative programming language and shell."


var HOME*: string
if defined(windows):
  HOME = getenv("USERPROFILE")
if not defined(windows):
  HOME = getenv("HOME")

let MINRC* = HOME / ".minrc"
let MINSYMBOLS* = HOME / ".min_symbols"
let MINHISTORY* = HOME / ".min_history"
let MINLIBS* = HOME / ".minlibs"