all repos — min @ 66cc73dbfd678f054f64a4363727c9d0180619d8

A small but practical concatenative programming language.

Enabled SSL support by default when compiling.
h3rald h3rald@h3rald.com
Sat, 28 Oct 2023 14:37:35 +0200
commit

66cc73dbfd678f054f64a4363727c9d0180619d8

parent

4509a675e5308e5fdaddbd1adf18a4f277d7a8f3

5 files changed, 13 insertions(+), 17 deletions(-)

jump to
M min.nimsmin.nims

@@ -12,6 +12,9 @@ switch("opt", "size")

switch("mm", "refc") switch("threadAnalysis", "off") +when not defined(nossl): + switch("define", "ssl") + when not defined(dev): switch("define", "release")

@@ -19,13 +22,14 @@ if findExe("musl-gcc") != "":

switch("gcc.exe", "musl-gcc") switch("gcc.linkerexe", "musl-gcc") -when defined(windows): +when defined(windows): switch("dynlibOverride", "pcre64") else: switch("dynlibOverride", "pcre") when defined(ssl): - when defined(windows): + switch("define", "useOpenSsl3") + when defined(windows): # TODO", change once issue nim#15220 is resolved switch("define", "noOpenSSLHacks") switch("define", "sslVersion:(")
M min.ymlmin.yml

@@ -1,5 +1,5 @@

author: Fabio Cevasco description: A small but practical concatenative programming language and shell. -id: 123212274 +id: 127048373 name: min -version: 0.40.0+version: 0.41.0
M next-release.mdnext-release.md

@@ -1,18 +1,10 @@

### BREAKING CHANGES -* The `-c` option has been removed, use `min compile <file>.min` to compile a min file. -* The `-e` option has been removed, use `min eval <string>` to evaluate a string as a min program. +* SSL is now enabled by default when installing via nimble and when compiling by default. Use `-d:nossl` to disable. -### New Features -* Added support for binary (0b) octal (0o), and hexadecimal (0x) integers in parser. -* Added `base` and `base?` symbols to set and get the current number base (dec, hex, bin or oct). -* Added `bitparity`, `bitclear`, `bitflip`, `bitset`, symbols for biwise operations. -* Added `to-(hex|bin|dec|oct)` and `from-(hex|bin|dec|oct)` symbols to convert integers to and from different string representations. -* Added `help`, `compile` and `eval` commands to the min executable. +### New Features ### Fixes and Improvements -* Now requiring `checksums` unless OpenSSL is used. -* Prepended `std/` to standard library modules. -* REPL tab-completions are now sorted alphabetically. +
M site/contents/get-started.mdsite/contents/get-started.md

@@ -45,7 +45,7 @@ > %tip%

> > Alternatively, if you can also opt out from OpenSSL and PCRE support by: > -> * _Not_ specifying `-d:ssl` +> * Specifying `-d:nossl` > * Specifying `-d:nopcre` ### Additional build options
M site/settings.jsonsite/settings.json

@@ -6,5 +6,5 @@ "rules": "rules.min",

"temp": "temp", "templates": "templates", "title": "min language", - "version": "0.40.0" + "version": "0.41.0" }