Releases: nifty-site-manager/nsm
Nift v3.0.0
Release Notes:
- now allow relative paths for
input
/inject
- added duplicate of
!i
option called!indent
forinput
/inject
- can now have names ending in
/
or\
for implicit index eg.about/index
vsabout/
- allow names containing
.
- have allowed cp/copy, mv/move and rm/del with nift commands again
- changed silent option to progress for build and status commands
- made some lolcat-cc modifcations
- reverted LuaJIT 2.1.0-beta3 to website version
- added 'browse' nift command
- modified default project constructed with 'nift init .html'
- changed to using JSON for all config files (auto updates projects)
- fixed compiler flags on LuaJIT for using LuaRocks
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Server.zip: nift nsm (for use on servers with no console color, eg. Netlify, Surge, Vercel, etc.)
Snapcraft.zip: (Release files for Snap, see Ubuntu.zip for Linux/Ubuntu release)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.12
Release Notes:
- further improved line number tracing for errors
- added get_pwd and pwd to embedded lua
- updated to newer versions of LuaJIT 2.1.0-beta3 and ExprTk
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.11
Release Notes:
- added basic/fast multi-threading options to poke and rmv
- changed to strictly using templatestein when parsing constructed string for join function
- fixed up being able to use "fn" instead of "function"
- fixed up error function to handle multiple parameters
- improved reading bracketless codeblocks inside bracketed codeblocks (no longer need an empty end line)
- hunted down some bugs with line number tracing for errors
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.10
Release Notes:
- fixed up lolcat to handle finding the end of things with 'm' to avoid so much white
- fixed up bug with reading {} in unbracketed code blocks
- added trying to compile and evaluate unrecognised lines using ExprTk with functionstein (f++)
- added option (default value can be changed with
exprtk.eval_params
fn) to compile and evaluate params with ExprTk
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.9
Release Notes:
- added in ability to run scripts with
nift script-path
as well asnift run script-path
, makes shebangs nicer for example - further improved language detection
- improved lolcat piping of system calls across multiple statements and made more consistent across f++/n++/Lua(JIT)/ExprTK
- hopefully fixed bugs with n++ and zero param non-fns output (in particular $ instances)
- added script path as first parameter for argv
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.8
Release Notes:
- added in default of trying system call if failure with lua(jit) or exprtk in interactive (interp/sh) mode,
they work better as shell extensions this way - cleaned up language choice so ExprTk and templatestein and all reasonable derivatives work okay
- fixed up nsm_lang fns for Lua(JIT) and ExprTk to work with both string and char version of language selection
- updated sys/system fn output to use the called fn name rather than defaulting to system
- added in passing parameters to the nift run command with variables 'argc' (int) and 'argv' (vector<string>)
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.7
Release Notes:
- Reverted to handling @fns with f++, too ingrained in the codebase
- Reverted to calling sys call on whole line for zero param functions
- Reverted to breaking at non-escaped @'s when reading function names
- Fixed up allowing for ';' at end of statements (hopefully no bugs/undesirable
features), though any potential system call will be called on whole line for
possibly multiple statements, use a new line if needed - cleaned up (hopefully) language choice with interactive REPL's (both interp and sh) and run
Ubuntu.zip
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.6
Release Notes:
- Initialised all bLineNo's to zero (started getting warnings on OSX)
- Fixed up "run commands" in-built scripts from last version to handle language names as well as chars for script extensions
- Added skip_whitespace fn to clean Parser.cpp codebase up a little bit
- Can now optionally use
fn
in place offunction
, mostly intended for interpreter/shell sessions
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.5
Release Notes:
- You can now do
nift sh/interp lang
and provided lang starts with the same char as the language you are specifying the prompt will match - Added
prompt.char(string)
command - Added in global
$[cmd]rc.$[langChar]
"run command" support on start of an interpreter or shell session - Added in local
.nsm/[interp/sh].$[langChar]
"run command" support on start of an interpreter or shell session - Added in treating a single parameter for f++/n++/lua/exprtk function calls as a file-path to a file
- Added in
exprtk.file
function to read and process ExprTk code at the file-path specified parameter - Added in
f/file
option forexprtk
andexprtk.compile
functions*
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
Chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Surge.zip: nift nsm (for use on surge.sh's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)
Nift (aka nsm) v2.4.4
Release Notes:
- Built-in improvements of unnecessarily repetitious code for lolcat-cc
- Fixed $() syntax to hopefully not conflict with common bash code
- Added lolcat.cmd and lolcat.status functions
- Added alternative
inj
option forsys/system
calls for terminal/cmd line brevity
Assets (can install through Homebrew on OSX, Chocolatey on Windows, Snapcraft/Flatpak on Linux and pkg on FreeBSD):
chocolatey.zip: (Release files for Chocolatey, see Windows.zip for Windows release)
OSX: use Homebrew (brew install nift
) or install from source (make; sudo make install
)
Ubuntu.zip: nift nsm (give executable permissions and place nift and nsm in /usr/local/bin
)
Netlify.zip: nift nsm (for use on Netlify's servers)
Vercel.zip: nift nsm (for use on Vercel's servers)
Windows.zip: lua51.dll nift.exe nsm.exe (place in C:\Windows\system32
)