all repos — min @ a648a1185bca8dd51254f6f4ef329009c0a91b14

A small but practical concatenative programming language.

Started to integrate nim-noise.
h3rald h3rald@h3rald.com
Sat, 29 Jul 2023 11:51:14 +0000
commit

a648a1185bca8dd51254f6f4ef329009c0a91b14

parent

e84235fe5956a79451bdd550ba47b59b87ea6830

4 files changed, 10 insertions(+), 10 deletions(-)

jump to
M min.nimmin.nim

@@ -6,6 +6,7 @@ json,

os, algorithm, logging, + noise, minpkg/packages/niftylogger, minpkg/core/baseutils, minpkg/core/env,

@@ -23,7 +24,6 @@ minpkg/lib/min_num,

minpkg/lib/min_str, minpkg/lib/min_logic, minpkg/lib/min_time, - minpkg/packages/nimline/nimline, minpkg/lib/min_sys, minpkg/lib/min_io, minpkg/lib/min_dstore,
M min.nimblemin.nimble

@@ -14,7 +14,7 @@ installDirs = @["minpkg"]

# Dependencies -requires "nim >= 1.6.12, zippy >= 0.5.6" +requires "nim >= 1.6.12, zippy >= 0.5.6, nim-noise >= 0.1.8" before install: exec "nimble install -y nifty"
M minpkg/core/env.nimminpkg/core/env.nim

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

import os, - ../packages/nimline/nimline + noise var HOME*: string if defined(windows):

@@ -14,8 +14,9 @@ var MINSYMBOLS* {.threadvar.}: string

MINSYMBOLS = HOME / ".min_symbols" var MINHISTORY* {.threadvar.}: string MINHISTORY = HOME / ".min_history" -var EDITOR* {.threadvar.}: LineEditor -EDITOR = initEditor(historyFile = MINHISTORY) +var EDITOR* {.threadvar.}: Noise +EDITOR = Noise.init() +EDITOR.historyLoad(MINHISTORY) var MINCOMPILED* {.threadvar.}: bool MINCOMPILED = false var DEV* {.threadvar.}: bool
M nifty.jsonnifty.json

@@ -51,10 +51,9 @@ "zippy": {

"name": "zippy", "nimble": true }, - "nimline": { - "name": "nimline", - "src": "https://github.com/h3rald/nimline.git", - "git": true + "nim-noise": { + "name": "nim-noise", + "nimble": true }, "niftylogger.nim": { "name": "niftylogger.nim",

@@ -62,4 +61,4 @@ "src": "https://raw.githubusercontent.com/h3rald/nifty/master/src/niftypkg/niftylogger.nim",

"curl": true } } -}+}