Skip to content

grind 0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 18:47
· 1 commit to main since this release

Download

macOS, Apple silicon and Intel: Grind-0.2.0.pkg puts Grind in your own Applications folder. It is not notarized, so macOS refuses it the first time: open System Settings ▸ Privacy & Security and choose Open Anyway. To drag it in yourself instead: Grind-0.2.0.dmg.

Windows, x64 and Arm: grind-win32-0.2.0-x86_64.exe is the whole app, no installer. It is not signed, so SmartScreen asks first: More info ▸ Run anyway.

Linux, x86_64: one package per program, Debian and Ubuntu take the .deb, Fedora the .rpm. Download the ones you want and install them together.

Debian, Ubuntu Fedora
Spreadsheet grind-sheet-gtk_0.2.0-1_amd64.deb grind-sheet-gtk-0.2.0-1.x86_64.rpm
Word processor grind-text-gtk_0.2.0-1_amd64.deb grind-text-gtk-0.2.0-1.x86_64.rpm
Command line grind-cli_0.2.0-1_amd64.deb grind-cli-0.2.0-1.x86_64.rpm
Terminal version grind-tui_0.2.0-1_amd64.deb grind-tui-0.2.0-1.x86_64.rpm

All of them in one command:

v=0.2.0 u=https://github.com/fwilhe2/grind/releases/download/v0.2.0
# Debian, Ubuntu
cd "$(mktemp -d)" && curl -fL --remote-name-all "$u"/grind{,-cli,-tui,-sheet-gtk,-text-gtk}_$v-1_amd64.deb && sudo apt install ./*.deb
# Fedora
sudo dnf install "$u/grind-$v-1.noarch.rpm" "$u"/grind-{cli,tui,sheet-gtk,text-gtk}-$v-1.x86_64.rpm

Only the command line, no spreadsheet or word processor: grind and grind-tui in one archive, nothing to install (the Linux ones run on any distribution):

Linux macOS Windows
x86_64 · aarch64 aarch64 · x86_64 x86_64 · aarch64

In the browser, a folder of documents served at http://127.0.0.1:8080/ (Linux):

docker run --rm --network host --user "$(id -u):$(id -g)" -v ~/Documents:/documents ghcr.io/fwilhe2/grind-web:0.2.0

VS Code: grind-vscode-0.2.0.vsix, for .grind and .rhai files, with grind on your PATH.

Every file is attested as built from this tag: gh attestation verify <file> -R fwilhe2/grind.

What changed

Changes

  • grind calc, a scratch calculator: type formulas line by line, refer to an
    earlier line as #3 or name one as vat = 0.19, and save the lines as a spreadsheet with
    --save. Numbers follow --locale. In the terminal version it is grind-tui --tape, or
    :tape; in the spreadsheet window, the calculator button in the header bar or Scratch
    Calculator
    in the menu, with Open as Spreadsheet to carry on in a sheet; in the browser,
    the calculator button over a spreadsheet, or Scratch calculator in Ctrl+K; on Windows,
    Data ▸ Scratch Calculator…; on a Mac, Edit ▸ Scratch Calculator….
  • The scratch calculator in the browser, on Windows and on a Mac is a notebook: type a line,
    press Enter, and the next one is ready; Enter on an earlier line opens a new one under it, the
    arrow keys move between lines, and Backspace in an empty line removes it.
  • The scratch calculator completes as you type: Tab takes the names your lines define, offered
    first with their values, and the functions. A name the tape knows is coloured apart from a
    misspelt one. In every window and in the terminal.
  • grind sheet extract, and Extract a Number into a Named Cell… in the spreadsheet window,
    move a number out of a formula into a named input cell, and have the formula use the name
    instead.
  • Excel's newer functions recalculate instead of showing #NAME?: IFS, SWITCH, CONCAT,
    TEXTJOIN, XLOOKUP, XMATCH, STDEV.S, STDEV.P, VAR.S and VAR.P.
  • Statistics: PERCENTILE, QUARTILE, MODE, PERCENTRANK, CORREL, PEARSON, RSQ, SLOPE,
    INTERCEPT, FORECAST, SUMSQ, DEVSQ, AVEDEV, GEOMEAN, HARMEAN, COMBIN and PERMUT.
  • TEXT: a number or a date spelled in a format code such as #,##0.00 or dd.mm.yyyy.
  • LOOKUP, ISEVEN, ISODD, ISREF, ISFORMULA, FORMULA (Excel's FORMULATEXT),
    ERROR.TYPE, CHAR, CODE, UNICHAR and UNICODE.
  • OFFSET and INDIRECT: a reference moved and resized, and a reference spelled as text — with
    . or Excel's ! before a sheet, a defined name, or in R1C1 style.
  • Four more spreadsheet functions: FIXED, LEGACY.NORMSINV, and Excel's NORM.S.DIST and
    GAMMA.DIST, so workbooks that simulate with the normal and gamma distributions recalculate
    instead of turning into errors.
  • Importing an Excel workbook keeps a one-cell array formula as a formula when it computes the
    same as an ordinary one, instead of freezing it to its saved value.
  • Area charts: offered beside bar, line and pie wherever a chart is inserted or changed, and
    drawn as LibreOffice draws them — stacked bands, with lines over them.
  • Charts LibreOffice anchors to a cell are shown; they used to be invisible in grind.
  • Stacked bar and line charts are drawn stacked; they used to be drawn side by side.
  • A formula whose saved result was rounded to ten digits no longer counts as out of date: editing
    such a workbook no longer warns about thousands of formulas, and recalculating leaves them be.
  • Importing an Excel workbook brings its charts along — bar, line, pie and area, stacked or not,
    with a line over bars or areas — placed where they were, drawn from the workbook's cells, and
    with their series' names even where the workbook gives a name as text rather than a cell, and
    their colours, theme colours included. A 3D chart comes in as its flat kind.

Fixes

  • Formulas in a spreadsheet grind saved open as formulas in current LibreOffice, rather than as
    Err:510 in every formula cell.
  • A date format that shows the day of the week names the right day; every day but Sunday was
    shown as the day before.
  • MATCH searches an array as well as a range, so MATCH(TRUE(); INDEX(B1:B9>15; 0); 0) finds
    the first row over 15 instead of failing; INDEX picks a row or column of an array inside one.
  • INDEX over a range gives back a cell, row or column you can use as a range, so
    MAX(A2:INDEX(A2:A99; B1)) and SUM(INDEX(A1:C9; 0; 2)) work instead of showing #VALUE!.