all repos — min @ 15b3025ae379720c37bde7323d6c94cf874838be

A small but practical concatenative programming language.

Now printing os/cpu in help.
h3rald h3rald@h3rald.com
Mon, 25 May 2026 06:58:05 +0200
commit

15b3025ae379720c37bde7323d6c94cf874838be

parent

f0dcdc3bfce15cd9e320c919112f0700c3e8fc2a

3 files changed, 9 insertions(+), 3 deletions(-)

jump to
M min.nimmin.nim

@@ -151,7 +151,8 @@ error getCurrentExceptionMsg()

debug getCurrentException().getStackTrace() terminate(10) - let usage* = """ $exe v$version - a small but practical concatenative programming language + let usage* = """ $exe v$version [$os $arch] + a small but practical concatenative programming language (c) 2014-$year Fabio Cevasco Usage:

@@ -190,6 +191,8 @@ -r, --registry:<url> If specified, uses the specified url as MMM registry

-v, —-version Print the program version""" % [ "exe", pkgName, "version", pkgVersion, + "os", hostOS, + "arch", hostCPU, "year", $(now().year) ]
M minpkg/lib/min_crypto.nimminpkg/lib/min_crypto.nim

@@ -1,7 +1,6 @@

import std/[base64, strutils, - os, times] import ../vendor/aes/aes

@@ -10,6 +9,8 @@ ../core/parser,

../core/value, ../core/interpreter, ../core/utils +when defined(static): + import os {.compile: "../vendor/aes/libaes.c".}
M minpkg/lib/min_http.nimminpkg/lib/min_http.nim

@@ -4,7 +4,6 @@ asynchttpserver,

asyncdispatch, strutils, uri, - os, critbits] import ../core/parser,

@@ -12,6 +11,9 @@ ../core/meta,

../core/value, ../core/interpreter, ../core/utils + +when defined(static): + import os when defined(ssl) and defined(static): when defined(amd64):