all repos — min @ c08fe2b4dae4b6ed989a03e8a29cb027ddb57ca7

A small but practical concatenative programming language.

CHANGELOG.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
# v0.48.0 - 2026-06-03

BREAKING CHANGES

-   The symbol aes now requires min to be compiled with -d:ssl.

New Features

-   By default, nimble builds are no longer statically linking other libraries.
-   Removed acyclic pragmas and now successfully compiling with --mm:orc for better memory management.

Fixes and Improvements

-   Ensured that all the relevant procs are gcsafe.
-   No longer using ref for MinValue objects.
-   No longer performing a deep copy when dequoting.
-   Optimized the way debug information is stored to reduce memory usage.
-   Avoiding creating unnecessary scopes when possible (withScope macro already creates a scope).
-   Fixed setSigil incorrectly calling setSymbol.
-   Improved handling of hash bang.
-   No longer using (unoptimised) tail-recursion for symbol resolution, now doing iterative lookups.

Changes

# v0.47.1 - 2026-05-22

Fixes and Improvements

-   Now differentiating between null and unknown symbols.

Changes

# v0.47.0 - 2026-05-22

New Features

-   No longer auto-quoting values. Now keeping track of whether quotations are meant to be data or operators internally.
-   Introduced the concept of lambda keys (^-prefixed) for dictionaries, for storing executable quotations.
-   Added dict.lambda symbol store operators in dictionaries.

Fixes and Improvements

-   Various minor documentation fixes.
-   sys.ls-r now returns directories and symlinks as well.
-   Fixed compilation of dictionary literals (Closes #194).
-   Displaying hint message in case of unhandled exceptions if -d is not specified (Closes #196).
-   Updated vendor library paths to include architecture information as well.
-   Fixed resolution of static libraries based on min sources rather than current project.
-   Upgraded OpenSSL to version 4.0.0.

Changes

# v0.46.0 - 2024-10-28

BREAKING CHANGES

-   Actually removed the invoke symbol and * sigil that were supposed to be removed in v0.44.0 but didn't.
-   Removed Dockerfile and Notepad++ highlighter (no longer maintained).
-   When defining or deleting a sigil, a symbol with the same name is now defined/deleted as well.
-   Removed obsolete aliases io.read and io.write.

Fixes and Improvements

-   Implemented define-sigil (was documented but not actually implemented).
-   Reviewed documentation making sure that documented operators match with implementation.
-   The help symbol now correctly displays help for namespaced symbols.
-   Enhanced the tokenizer symbol to provide additional information for symbols.
-   Enhanced min shell highlighting to support dot notation, sigils, autopop, global symbols.
-   Enhanced Vim syntax file to support latest constructs.

Changes

# v0.45.0 - 2024-10-26

BREAKING CHANGES

-   All symbols defined in the num module have been moved to the global module.
-   All symbols defined in the logic module have been moved to the global module.
-   All symbols defined in the str module have been moved to the global module.
-   All symbols defined in the seq module have been moved to the global module.
-   Removed lambdabind (use lambda-bind instead).
-   The stack module is no longer imported.
-   stack module: removed symbol id.
-   stack module: renamed clear-stack to clear.
-   stack module: removed clearstack (use stack.clear instead).
-   stack module: renamed get-stack to get.
-   stack module: removed getstack (use stack.get instead).
-   stack module: renamed set-stack to set.
-   stack module: removed setstack (use stack.set instead).
-   The io module is no longer imported.
-   io module: renamed fwrite and write to fs.write
-   io module: renamed fread and read to fs.read
-   io module: renamed fappend to fs.append
-   io module: moved print to the global module.
-   io module: removed newline (use "" puts! instead).
-   The fs module is no longer imported.
-   fs module: renamed fperms to fs.permissions
-   fs module: renamed fsize to fs.size
-   fs module: renamed fstats to fs.stats
-   fs module: renamed ftype to fs.type
-   The time module is no longer imported.
-   time module: renamed tformat to time.format
-   time module: renamed timeinfo to time.info
-   time module: renamed timestamp to time.stamp
-   The dict module is no longer imported.
-   dict module: renamed dhas? to dict.has?
-   dict module: renamed dget to dict.get
-   dict module: renamed dget-raw to dict.get-raw
-   dict module: renamed dset to dict.set
-   dict module: renamed dset-sym to dict.set-sym
-   dict module: renamed ddel to dict.del
-   dict module: renamed dkeys to dict.keys
-   dict module: renamed dvalues to dict.values
-   dict module: renamed dpairs to dict.pairs
-   dict module: renamed ddup to dict.dup
-   dict module: renamed dpick to dict.pick
-   dict module: renamed dtype to dict.type
-   The sys module is no longer imported.
-   The dstore module has been renamed to store, and is no longer imported.
-   store module: renamed dsinit to store.init
-   store module: renamed dsget to store.get
-   store module: renamed dshas? to store.has?
-   store module: renamed dsput to store.put
-   store module: renamed dspost to store.post
-   store module: renamed dsdelete to store.delete
-   store module: renamed dsquery to store.query
-   store module: renamed dswrite to store.write
-   store module: renamed dsread to store.read
-   The crypto module is no longer imported.
-   The math module is no longer imported.
-   math module: renamed r2g to math.r2d
-   The net module is no longer imported.
-   The http module is no longer imported.
-   The xml module is no longer imported.
-   xml module: renamed xcomment to xml.comment
-   xml module: renamed xentity to xml.entity
-   xml module: renamed xtext to xml.text
-   xml module: renamed xentity2utf8 to xml.entity2utf8
-   xml module: renamed xcdata to xml.cdata
-   xml module: renamed xescape to xml.escape
-   xml module: renamed xelement to xml.element
-   xml module: renamed xquery to xml.query
-   xml module: renamed xqueryall to xml.query-all
-   The prompt symbol is no longer unsealed.

Fixes and Improvements

-   Upgraded OpenSSL to v3.3.2.

Changes

# v0.44.0 - 2024-06-18

BREAKING CHANGES

-   User-defined symbols can no longer contain dots (.).
-   The symbol invoke and the * sigil have been removed in favor of symbol dot notation.
-   The . and .. symbols have been renamed to pwd and parent-dir respectively.
-   The ! symbol has been removed; use system instead.
-   The ! sigil has been removed; use system instead.
-   The & symbol has been removed; use run instead.
-   The & sigil has been removed; use run instead.
-   The / sigil has been removed; use dget or symbol dot notation instead.
-   The % sigil has been removed; use dset or symbol dot notation instead.
-   The > sigil has been removed; use save-symbol innstead.
-   The < sigil has been removed; use load-symbol innstead.
-   Moved get-env, put-env, $ symbol and $ sigil from sys to global module.

New Features

-   It is now possible to access dictionary (and module) keys (even nested) via dot notation. This replaces the invoke symbol.
-   Added shell auto-completion for symbols using dot notation
-   Added a new color symbol to the io module to enable/disable terminal color output.
-   Added a new from-html symbol to the xml module to parse HTML documents and fragments.
-   Added a new xentity2utf8 symbol to the xml module to convert an XML entity to its corresponding UTF-8 string.
-   Added a new xescape symbol to the xml module to convert special XML characters into the corresponding XML entities.

Fixes and Improvements

-   Fixed tokenize symbol (wasn’t processing commands correctly)

Changes

# v0.43.1 - 2024-05-03

Fixes and Improvements

-   Upgraded OpenSSL to version 3.3.0.
-   Nimble metadata are now specified statically in the min.nimble file (Fixes #193).
-   Minor documentation fixes.

Changes

# v0.43.0 - 2024-02-04

BREAKING CHANGES

-   Renamed ROOT symbol to global. Also the built-in lang module is now called global.

New Features

-   Upgraded OpenSSL to v3.2.0
-   Added the min run <mmm> command to (download, install globally, and) execute the main symbol of the the specified managed module. For example this functionality can be used to upgrade .min files using the min-upgrade managed module.
-   mmm: It is now possible to install, uninstall, and update modules by specifying them via <name>@<version>.
-   mmm: The version is now optional when installing, uninstalling, and updating modules (the name of the HEAD branch will be used, e.g. “master” or “main”, typically).

Fixes and Improvements

-   Added check to prevent installing local managed modules in the HOME directory or $HOME/mmm.
-   Changed tokenize symbol so that it returns the full token, including delimiters (for strings and comments).
-   Fixed regression in min compile command introduced in the previews version due to parses changes.

Changes

# v0.42.0 - 2023-12-02

BREAKING CHANGES

-   The dpairs symbol now returns a quotation of quotations, each containing a value/key pair.

New Features

-   Added dev symbol to toggle development mode within a min program.
-   Implemented mmm, i.e. min module management. The following new commands are now built-in into the min executable:
    -   min init — Initialize a manage module.
    -   min install — Install a managed module.
    -   min uninstall — Uninstall a managed module.
    -   min update — Update a managed module.
    -   min list — List all dependent managed modules.
    -   min search — Search for managed module.

Fixes and Improvements

-   Fixed help symbol and min help command to correctly report sigil documentation.
-   Documented ~ (alias and sigil for lambda-bind) symbol.

Changes

# v0.41.0 - 2023-11-24

BREAKING CHANGES

-   SSL is now enabled by default when installing via nimble and when compiling by default. Use -d:nossl to disable.

New Features

-   min shell now supports syntax highlighting for entered values.
-   Implemented smart completion for invocations in min shell.
-   Implemented new tokenize symbol.
-   Added syntax highlighting to code examples on min site.

Fixes and Improvements

-   Auto-completions for files and folders now automatically end with ".
-   The min shell no longer attempts to auto-complete executables (it never worked properly anyway).

Changes

# v0.40.0 - 2023-10-08

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.

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.

Fixes and Improvements

-   Now requiring checksums unless OpenSSL is used.
-   Prepended std/ to standard library modules.
-   REPL tab-completions are now sorted alphabetically.

Changes

# v0.39.2 - 2023-08-15

Fixes and Improvements

-   Removed depentency unnecessary dependency on nifty.
-   Now compiling using --mm:refc to decrease memory usage.

Changes

# v0.39.1 - 2023-08-02

Fixes and Improvements

Fixed compilation errors with Nim 2.0.

Changes

# v0.39.0 - 2023-07-31

New Features

-   Implemented new xml module to work with XML content (addresses #21).
-   Fixed month index in timeinfo and to-timestamp symbols (each month number was increased by 1); addresses #186.
-   --dev is not automatically set when running min interactively.

Fixes and Improvements

-   Fixed OpenSSL support on Windows.

Changes

# v0.38.1 - 2023-07-23

Fixes and Improvements

-   Recompiled OpenSSL on Linux and macOS to match Windows configuration and reduce size.
-   Now compressing executables using upx to reduce size.

Changes

# v0.38.0 - 2023-07-21

New Features

-   min is now a superset of mn:
    -   Implemented support for executing commands by wrapping strings in [ ], like in mn.
    -   Implemented new quotecmd symbol to quote command strings.
    -   Implement aliases for compatibility with mn: getstack (get-stack), setstack (set-stack), lambdabind (lambda-bind), read (fread), write (fwrite).

Fixes and Improvements

-   Documentation improvements and fixes (thanjs @agentofuser, @tristanmcd130, and @jo-he).
-   Fixed #184 (thanks @inivekin).
-   Fixed problem with hardcoded relative paths to third-party libraries that prevented installing via nimble.
-   Removed filename/line/column from generated Nim code when compiling.
-   Upgraded OpenSSL to v3.1.1.

Changes

# v0.37.0 - 2022-01-01

New Features

-   Added quoted-symbol? predicate.

-   Added get-raw operator to retrieve information on an element of a quotation without evaluating it.

-   Added dget-raw operator to retrieve information on an element of a dictionary without evaluating it.

-   Added set-sym operator to set an element of a quotation to a symbol (specified as a string).

-   Added dset-sym operator to set a key of a dictionary to a symbol (specified as a string). ### Fixes and Improvements

-   Miscellaneous documentation fixes.

-   Now clearing the stack after every HTTP request received by http-server.

-   Fixed #174 (cons operator was not creating a new quotation).

-   Fixed #176 (times can now execute a quotation 0 times).

-   set now actually creates a copy of the specified quotation.

-   Documented previously-undocumented type operator.

Changes

# v0.36.0 - 2021-11-14

BREAKING CHANGES

-   Runtime checks (expectations, stack pollution checks, operator output validation) must now be manually activated by specifying -d or --dev. Activating checks can be very useful while developing a min program, at cost of performance.
-   Moved the following symbols from the sys to the fs module:
    -   exists?
    -   dir?
    -   file?
    -   symlink?
    -   filename
    -   dirname

New Features

-   Added dev? symbol to check if we are running in development mode.
-   Added new symbols to the fs module:
    -   join-path
    -   expand-filename
    -   expand-symlink
    -   normalized-path
    -   absolute-path
    -   relative-path
    -   windows-path
    -   unix-path
    -   absolute-path?
-   Added admin? symbol to the sys module.

Fixes and Improvements

-   Fixed Nim 1.6.0 compilation warnings.
-   string values are now properly escaped when printed.

Changes

# v0.35.1 - 2021-04-23

Fixes and Improvements

-   Fixed problem with print symbol (Linux only if compiled with musl)
-   Minor performance improvements on dictionary management
-   Upgraded OpenSSL to v1.1.1k

Changes

# v0.35.0 - 2021-03-20

BREAKING CHANGES

-   Removed lite? and mini? symbols, as they are no longer necessary.

New Features

-   Now using zippy for the zip and unzip symbols.

Fixes and Improvements

-   Removed conditional compilations related to mini and lite variants as they are no longer needed.

Changes

# v0.34.1 - 2021-03-13

Fixes

-   Fixed search symbol to always return a quotation containing the same number of elements (1 + number of captures). If no matches are found, the quotation contains empty strings.

Changes

# v0.34.0 - 2021-03-13

BREAKING CHANGES

-   No longer distributing lite and mini variants.
-   Removed regex and =~ symbols, use search, replace, search-all, replace-apply instead.
-   Regular expressions are PCRE compliant.
-   Renamed match into match?.
-   The split operator now takes a PCRE as a separator.

New features

-   Now including statically-linked PCRE v8.44 library used for regular expression support.
-   Upgraded OpenSSL to v1.1.1j.

Changes

# v0.33.0 - 2021-02-13

Breaking changes

-   #141 - The ’ symbol is now an alias of the quotesym symbol (but its behavior remains the same: it can be used to created quoted symbols from a string), and the ’ sigil is equivalent to the new quotesym symbol, not quote.

Fixes

-   #140 - It is now possible to invoke symbols on ROOT.
-   #147 - Fixed an error when processing operator output values.
-   Now adding help.json to installation folder when installing via nimble.
-   #151 - Added documentation for integer.
-   #152 - Now preventing infinite recursion in case a symbol evaluates to itself.

New features

-   #144 - The symbol type? is now able to check if a value satisfies a type expression, not only a simple type. Note however that it is now necessary to prepend dictionary types with dict: (as in type expressions).
-   #141 - A new quotesym symbol has been added to transform a string into a quoted symbol. This is equivalent to the behavior of the ’ sigil.

Changes

# v0.32.0 - 2021-02-06

Fixes

-   Added === at the end of integrated help descriptions (#127).
-   Fixed override propagation when setting isymbols in upper scopes (#133).

New features

-   New symbol: parent-scope (#117).

Lambda capturing in operator output values

You can now specify a lambda to be captured to an output value, like this:

     (
       symbol square
       (==> quot ^o)
       (
         (dup *) ~o
       )
     ) ::
     

Essentially, this allows you to push a lambda on the stack from an operator.

Note that:

-   Lambdas must be captured using the ^ sigil in signatures and bound using lambda-bind in the operator body.
-   Lambdas cannot be captured in input values (they have already been pushed on the stack).
-   Requiring a lambda as an output value effectively bypasses stack pollution checks. While this can be useful at times, use with caution!

Type Expressions

When specifying types in operator signatures or through the expect operator, you can specify a logical expression containing types and type classes joined with one of the following operators:

-   | (or)
-   & (and)
-   ! (not)

Suppose for example you defined the following type classes:

    (typeclass fiveplus
        (int :n ==> bool :o)
        (
          n 5 > @o
        )
    ) ::

    (typeclass tenminus
        (int :n ==> bool :o)
        (
          n 10 < @o
        )
    ) ::

    (typeclass even
        (int :n ==> bool :o)
        (
          n 2 mod 0 == @o
        )
    ) ::

You can combine them in a type expression as following:

    (symbol test
        (!even|tenminus&fiveplus :n ==> bool :o)
        (
          true @o
        )
    ) ::
    4 test  ; error
    6 test  ; true
    11 test ; true 

Type aliases

You can now define type aliases using the typealias operator.

For example, you can create an alias of part of the type expression used in the previous example, like this:

    'tenminus&fiveplus 'five-to-ten typealias

    (symbol test
        (!even|five-to-ten :n ==> bool :o)
        (
          true @o
        )
    ) ::

Note that: * Type aliases be used to create an alias for any type expression. * Aliased type expressions can contain standard min types, dictionary types, type classes, and even other type aliases. * The typealias operator actually creates lexically-scoped, typealias:-prefixed symbols that can be sealed, unsealed, and deleted exactly like other symbols.

Changes

# v0.31.0 - 2021-02-06

-   Implemented “auto-popping” by adding ! at the end of any symbol (#104).
-   Removed all symbols ending with ! as auto-popping will work instead.
-   Improved contrast and readability of the min web site (#107).
-   Extended operator to support the creation of constructor symbols.
-   Now using dict:http-response and dict:http-response for HTTP requests/responses.
-   Now using dict:timeinfo for time info.
-   Changed parse-url to push a dict:url on the stack.
-   Fixed #115 and #118.

Breaking changes

This release also introduces quite a lot of breaking changes aiming at addressing some language inconsistencies and making the language more stable overall (see #111 for more information).

Read this carefully! It is most likely that your code will break when you upgrade.

-   Removed quote-define (=) and quote-bind (#).
-   define (:) now auto-quote quotations as well.
-   To quickly bind a quotation to a symbol (and essentially create a symbol operator but with no validations or constraints), use the new lambda symbol or ^ (alias, sigil) – addresses also #114.
-   Removed typeclass and extended operator to create type classes as well.
-   Renamed string and float type names (used in operator signatures) to str and flt respectively.
-   Removed define-sigil, use operator instead.
-   Removed module and + (sigil); use require to create modules.
-   Removed call, ^ (sigil, alias – reused for lambda, see above); use invoke to access module/dictionary symbols.
-   Removed set-type symbol.
-   Removed ~ sigil (rarely used).
-   Renamed the following symbols:
    -   int -> integer
    -   bool -> boolean
    -   delete -> delete-symbol
    -   defined? -> defined-symbol?
    -   seal -> seal-symbol
    -   sealed? -> sealed-symbol?
    -   unseal -> unseal-symbol

Changes

# v0.30.0 - 2021-01-23

-   Added support for Scheme-style block comments using hashpipe style: #| ... |#.
-   Implemented support for documentation comments (;; or #|| ... ||#) placed right after an operator definition.
-   BREAKING CHANGE – ? is now used as a sigil for help, not dget.
-   Added help (and also ? alias and ? sigil), symbol-help, sigil-help
-   Added replace-apply and search-all.
-   Refactored tasks as required modules.
-   Added binary operators to num module (thanks @drkameleon!).
-   Added product, med, avg and range operators to num module (thanks @drkameleon!).
-   Added Dockerfile (thanks @drkameleon!).
-   Implemented integrated help system for all native symbols.

Changes

# v0.29.1 - 2021-01-18

-   Fixes #98.

Changes

# v0.29.0 - 2021-01-17

-   Added dsinit! symbol.
-   Added sealed? and sealed-sigil? symbols.
-   floor and ceil now correctly return an integer again.
-   Added abs symbol.
-   Now executing min shell if no file is specified (unless input is piped in), without the need of specifying -i.
-   Implemented the possibility to define type classes using the typeclass symbol.
-   Added stringlike? symbol.
-   Implemented support for generics in operator signatures
-   Now listing what items are polluting the stack.

Changes

# v0.28.1 - 2021-01-10

-   Fixed implementation of the while symbol, as it polluted the stack in some cases. Thanks @baykus871 for noticing that something was wrong!

Changes

# v0.27.1 - 2021-01-02

-   Fixed handling of escaped “/” characters in regex operator.
-   Fixed fatal error in REPL.

Changes

# v0.27.0 - 2020-12-31

Happy New Year! 🎊 ✨🍾

-   REMOVED support for creating dynamic libraries (it never worked properly anyway)
-   Added operator symbol to define symbols and sigils in a more controlled way.
-   Added expect-all and expect-any symbols.
-   Fixed behavior of require and invoke ensuring that operators are evaluated in the correct scopes.
-   Improved diagnostics of exceptions occurring in native code.
-   Fixed unwanted stack pollution in to-yaml operator.
-   Added check to prevent required modules from polluting the stack.
-   Added nossl flag to compile without openssl (otherwise enabled by default).

Changes

# v0.26.0 - 2020-12-25

Merry Christmas! 🎄🎁🍾

-   Added encode-url, decode-url, parse-url symbols.
-   Added dstore module providing support for simple, persistent, in-memory JSON stores.
-   Added require symbol to read a min file and automatically create a module containing all symbols defined in the file.
-   Added invoke symbol (and * sigil) to easily call a symbol defined in a module or dictionary, e.g. *mymodule/mymethod, or *dict1/a/b.
-   Fixed library installation via nimble
-   Fixed error handling and stack trace for start-server symbol.
-   Added the possibility to bundle assets in a compiled min program by specifying tbe -a (or –asset-path) option.
-   Added expect-empty-stack (=-=) symbol.
-   Added null data type, added null? symbol.
-   Added reverse-expect-dequote (--) symbol.

Changes

# v0.25.0 - 2020-12-19

-   Added support for sigils on double-quoted strings.
-   Added support for arbitrary strings as dictionary keys.
-   Added define-sigil, delete-sigil, seal-sigil, unseal-sigil, defined-sigil?.
-   Fixed behavior of semver-inc-mahor and semver-inc-minor to set lower digits to zero.
-   Now using OpenSSL for all hashing symbols in the crypto module.
-   Added md4 symbol.
-   Re-added the possibility to exclude OpenSSL by not defining the ssl flag.
-   Added clear symbol to clear the screen.
-   Added the mapkey and the unmapkey symbols to configure key mappings.
-   Fixed execution of scripts from stdin (when running min with no parameters).

Changes

# v0.24.0 - 2020-12-12

-   Added the possibility to “compile” min files into single executables. This is achieved by converting the specified min file to its raw Nim code equivalent and then calling the Nim compiler (which in turns calls the C compiler).
-   Added compiled? symbol which returns true if the program has been compiled.
-   Added the possibility of including a path containing additional .min files to compile along with the main file (-m, –module-path).
-   Added the possibility to compile a bare-bones version of min specifying the -d:mini compilation flag.
-   Added mini? symbol which returns true if min was compiled specifying -d:mini.
-   Now distributing precompiled litemin and minimin executables as well.
-   Moved puts, puts! and gets from io module to lang module.

Changes

# v0.23.0 - 2020-12-07

-   Added apply-interpolate (alias: =%) operator.
-   Documented that it is possible also to interpolate with named placeholders, like this: "Current Directory: $pwd" ("pwd" .) =%
-   Added from-yaml and to-yaml operators. Note that they only support dictionaries containing string values (primarily intended to access extremely simple YAML files containing just key/value pairs).
-   Added from-semver, to-semver, semver-major, semver-minor, semver-patch, semver operators to manage version strings conforming to Semantic Versioning (additional labels are not yet supported).
-   Automatically adding .min to files supplied to the min executable if they don’t already end in .min.
-   Fixed GC safety issues.
-   Now statically linking libssl and libcrypto on all platform to provide HTTPS support out of the box.
-   Now using a set of min tasks to perform a min release and other common operations.
-   Added escape operator to escape quotes and special characters in a string.
-   Added quit operator to exit with a 0 code.
-   Addes prefix and suffix operators to prepens and append one string to another.

BONUS! Are you using Visual Studio Code? check out the new official extension for the min programming language!

Changes

# v0.22.0 - 2020-11-29

-   Linux binaries are now statically linked with musl for improved portability (fixed all REPL problems)
-   Added infix-dequote (alias: ><) and prefix-dequote (alias: >>) symbols.

Changes

# v0.21.1 - 2020-10-31

Recompiled with Nim v1.4.0.

Changes

# v0.21.0 - 2020-10-03

-   Renamed stored-symbols into saved-symbols for consistency reasons.
-   Added system! (alias !!) to execute a command without pushing the return value on the stack.
-   Dequoting now makes sure that the quoted program doesn’t get modified if executed multiple times.
-   Created native binaries for all supported platforms, without cross-compiling.

Changes

# v0.20.1 - 2020-08-30

-   Fixes #62.

Changes

# v0.20.0 - 2020-06-17

-   with now works properly with ordinary modules as well as ROOT.
-   Exposed new scope symbol to access the current scope as a module.
-   Fixed a few documentation issues (thanks @zenon).
-   Added the possibility to configure your own prelude file (thanks @zenon for the suggestion).
-   Exposed new symbols for reading/writing/printing single characters: getchr, putchr, chr, ord (thanks @agentofuser for the suggestion).
-   Added dtype symbol.
-   Modified type? symbol to support also primitive types.
-   Added type symbol to retrieve the type of a value.
-   Added documentation page to clarify dictionaries, types, scopes and modules.

Changes

# v0.19.6 - 2020-01-10

-   Fixed/improved documentation (thanks @zenon!)
-   Fixed start-server symbol to properly work with dictionaries

Changes

# v0.19.5 - 2019-09-29

-   Fixed compilation errors and most warnings on Nim v1.0.0.
-   Fixed travis CI script.
-   Fixed REPL mode (been broken for a while).

Changes

# v0.19.4 - 2019-08-25

-   Fixed compilation errors on Nim v0.20.2.

Changes

# v0.19.3 - 2018-12-09

-   Fixed nimble installation

Changes

# v0.19.2 - 2018-11-24

-   Fixed CI build.
-   No longer parsing nimble file to retrieve package information.

Changes

# v0.19.1 - 2018-11-18

-   Fixed compilation errors with Nim 0.19.1.
-   Moved tasks to min.nimble

Changes

# v0.19.0 - 2018-08-12

-   Removed development mode (-d switch); now running with expect checks enabled always. The minor performance increase was not worth giving up type checks.
-   Changed the way dictionaries are processed. They are now parsed like other data types, and copied by value whenever they are interpreted. This fixes a lot of problems related with dictionaries when used in cycles.
-   [lang module] apply can now be used on a dictionary to evaluete all its symbols.

Changes

# v0.18.0 - 2018-07-08

-   min can now also be installed via nimble (thanks SolitudeSF).
-   Fixed timestamp operator (thanks SolitudeSF).
-   Fixed all? and any? operators.
-   Added development mode (-d switch); now running with expect checks disabled by default.
-   Refactoring/improvement: no longer saving scopes with all quotations.
-   Performance improvements.

Changes

# v0.17.0 - 2018-06-03

New Features

-   Introduced support for native dictionaries: {1 :a 2 :b 3 :c}
-   Native dictionaries are passed by reference. Use the new ddup symbol to create a copy of a dictionary.
-   Added new type? symbol to the logic module to check for typed dictionaries.
-   Added new set-type symbol to the lang module to specify the type for a dictionary.
-   expect now supports type unions: ("string|quot") expect

Breaking Changes

-   The old quote-based dictionary format (es.: (("a" 1) ("b" 2))) is no longer considered a dictionary.
-   dictionary? returns true only if the native type of the value is a dictionary.
-   dget, dset, dhas?, ddel, dvalues, dkeys, dpick now only operate on native dictionaries and have been moved to a new dict module, along with their corresponding sigils.
-   dsort symbol has been removed (all dictionaries are sorted by key).
-   [lang module] Renamed module-symbols and module-sigils to scope-symbols and scope-sigils respectively, and they now work on native dictionaries. Additionally, raise, format-error, opts, module, import, call, and publish now operate on native dictionaries (format-error requires a dictionary typed as error).
-   [time module] to-timestamp, and timeinfo now operate on native dictionaries (typed as timeinfo).
-   [net module] socket, listen, accept, and connect now operate on native dictionaries.
-   [http module] request and start-server now operate on native dictionaries.
-   [fs module] fstats now operates on native dictionaries.
-   [sys module] run now operates on native dictionaries.
-   JSON objects are now deserialized to dictionaries, and to-json can be used on any type of data.
-   Dictionaries are now serialized to JSON objects.

Changes

# v0.16.0 - 2018-05-20

-   Added take and drop operators to the seq module.
-   Mentioned how to get syntax highlighting in Vim and Sublime Text
-   Minor documentation fixes.

Changes

# v0.15.2 - 2018-04-29

-   Fixed unhandled exception in withScope (#27)
-   Regenerated min developer guide using HastyScribe v1.10.0.

Changes

# v0.15.1 - 2018-03-17

-   Fixed current directory handling when cd is used.
-   Fixed command help to specify correct loglevel values.

Changes

# v0.15.0 - 2018-03-10

-   Added randomize operator to initialize the random number generator with a seed based on the current timestamp.
-   Added a substr operator and enhanced the split operator to support string splitting using an empty string.
-   Re-implemented aes operator using the tiny-AES-c library. This operator now uses the CTR mode of operation for encrypting and decrypting strings.

Changes

# v0.14.0 - 2018-02-18

-   Implemented a new http module, providing basic support for making HTTP requests and creating simple HTTP servers.
-   Added lite? operator in lang module to check whether min was compiled in lite more or not.
-   Modified min’s prelude so that non-included modules will not be imported.
-   Fixed a few errors in the documentation.

Changes

# v0.13.0 - 2017-11-19

-   Implemented a new net module, providing support for operations on sockets.
-   (seq module) Implemented quote-map operator to quote all elements of a quotation.
-   (logic module) Implemented short-circuit operators dequote-and and dequote-or.
-   (logic module) The == can now be used with non-homogeneous types.
-   (lang module) Implemented read and parse operators to parse strings into quotations.
-   Additional minor fixes.

Changes

# v0.12.0 - 2017-10-29

-   Implemented new math module (thanks @PMunch).
-   Improved support for floating-point numbers (thanks @PMunch).
-   Implemented support for dynamic libraries (thanks @PMunch).
-   Added support for sharpbang.

Changes

# v0.11.0 - 2017-08-06

-   Added new ? sigil for symbol dhas?.
-   Moved / and % sigils to seq module.
-   dhas?, ddel, dset, dget now check that provided argument is a dictionary.
-   Dictionary keys now must be strings, not symbols
    -   This is a breaking change, but it will hopefully make it easier to manipulate dictionaries.
-   keys and values have been renamed to dkeys and dvalues for consistency reasons.
-   Added new dsort symbol to sort a dictionary by key.
-   Added dpick symbol to create a dictionary from another one containing only a subset of keys.
-   Added last symbol to retrieve the last element of a quotation.
-   Fixed SIGSEGV issue with tap and tap! operator

Changes

# v0.10.0 - 2017-07-30

-   Moved apply to the lang module.
-   Fixed error message in try symbol.
-   Removed rolling file logger feature – not necessary.
-   Added prompt symbol to the lang module.
-   Finished the initial documentation
-   Made the site available also as a developer guide in a single HTML file.

Changes