| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-03-14 | Make setc handle lists of vars | Andrey Popp | |
| 2022-03-13 | Make setc not fail on matches | Andrey Popp | |
| 2022-03-13 | Add repl preview | Andrey Popp | |
| Repl now has an additional mode of evaluation where observable (visible outside of the evaluated expression) side effects are not allowed. More specifically all assignments and reassignments are *prohibited* unless they fall in the following categories: - Assignments and reassignments within the top level environment - Assignments and reassignments for the environments created during evaluation of the expression being previewed Examples: let repl = BQN.makerepl() repl.preview('42') // ok, pure repl.preview('x ← 42 ⋄ x + 1') // ok, x is from the top env repl('f ← {x ← 0 ⋄ F ← {x+↩𝕩} ⋄ f}') repl.preview('F 42') // fail! mutates x How it's implemented: - A global `preview` flag determines if we are in "preview" mode - During compilation of bytecode to JS we inject code which marks environments with `inpreview` flag - `true` means they've been created during "preview". - Top level environment always has `inpreview = true` as we have this handled by restoring it to the values before the "preview" eval started. - While setting variables we check if are in "preview" and if the target environment has `inpreview` flag, otherwise we fail. | |||
| 2022-03-11 | JS does string-based sorting by default, ouch | Marshall Lochbaum | |
| 2022-03-11 | Fix missing fill in •rand.Deal and •rand.Subset | Marshall Lochbaum | |
| 2022-02-17 | Fix formatting of error locations that meet or overlap | Marshall Lochbaum | |
| 2022-02-12 | Store whether selected structure can have depth>1 in Under | Marshall Lochbaum | |
| 2022-02-08 | Handle other valence of a half-structural function in Under | Marshall Lochbaum | |
| 2022-02-07 | Define limited / in r1 | Marshall Lochbaum | |
| 2022-02-07 | Fully non-pervasive ⊔ and ⊔⁼ implementations | Marshall Lochbaum | |
| 2022-02-07 | Some rearrangement | Marshall Lochbaum | |
| 2022-02-07 | Lower-level Reorder Axes control code | Marshall Lochbaum | |
| 2022-02-06 | Much faster Reorder Axes implementation | Marshall Lochbaum | |
| 2022-02-02 | Check number of arguments for •math functions | Marshall Lochbaum | |
| 2022-01-25 | Implement •CurrentError | Marshall Lochbaum | |
| 2022-01-19 | Fix fill computation for arrays imported from JS | Marshall Lochbaum | |
| 2022-01-18 | Locate unmatched brackets | Marshall Lochbaum | |
| 2022-01-06 | Add •ns.Has and •ns.Get, taking namespace on the left, and •ns.Map | Marshall Lochbaum | |
| 2022-01-06 | Move •ListKeys to •ns.Keys | Marshall Lochbaum | |
| 2022-01-04 | Fix fill counting for Take with atom 𝕨 and high-rank 𝕩 (fixes #52) | Marshall Lochbaum | |
| 2021-12-30 | Fix •Repr of 1-element numeric list (can't use a strand) | Marshall Lochbaum | |
| 2021-12-25 | Fix modification of assignment indices since their location has moved | Marshall Lochbaum | |
| 2021-12-20 | Allow monadic ´˝ to be used on an array in structural Under | Marshall Lochbaum | |
| 2021-12-20 | Avoid changing fill of existing array in fill_by | Marshall Lochbaum | |
| 2021-12-18 | Support ´˝ with non-selection right argument in structural Under | Marshall Lochbaum | |
| 2021-12-16 | Check for character set duplicates (from •ReBQN) in the compiler | Marshall Lochbaum | |
| 2021-12-15 | Fix ⊑'s handling of atom in nested 𝕨 | Marshall Lochbaum | |
| 2021-12-14 | Make Mix and Join return the argument if it's empty and has no fill | Marshall Lochbaum | |
| 2021-12-14 | Set a fill cell for ⎉ with an empty frame | Marshall Lochbaum | |
| 2021-12-13 | Copy state for •ReBQN on every call, not once per file | Marshall Lochbaum | |
| 2021-12-12 | Special case extensions to remove checks from /⁼ and F⁼⁼ | Marshall Lochbaum | |
| 2021-12-09 | Linting | Marshall Lochbaum | |
| 2021-12-07 | Fix JS VM's handling of single-body block function with a header | Marshall Lochbaum | |
| 2021-12-03 | Support CR as a separator character | Marshall Lochbaum | |
| 2021-12-01 | Fix handling of parenthesized · in assignment target | Marshall Lochbaum | |
| 2021-11-28 | Fix codegen for assigned strand ending in · | Marshall Lochbaum | |
| 2021-11-28 | Allow · as placeholder in assignment and headers | Marshall Lochbaum | |
| 2021-11-27 | Check for export statement used as predicate ⇐? | Marshall Lochbaum | |
| 2021-11-24 | Fix 𝕨𝔽_𝕣˜⁼𝕩: left argument check | Marshall Lochbaum | |
| 2021-11-24 | More accurate error message | Marshall Lochbaum | |
| 2021-11-24 | Reject immediate block Undo header | Marshall Lochbaum | |
| 2021-11-24 | Reject ˜⁼ header without left argument | Marshall Lochbaum | |
| 2021-11-24 | Fix handling for some inverse header call cases | Marshall Lochbaum | |
| 2021-11-23 | Fix metadata generation for inverse-only block | Marshall Lochbaum | |
| 2021-11-23 | Support 𝔽_𝕣_𝔾⁼: header correctly | Marshall Lochbaum | |
| 2021-11-21 | Allow multiple bodies in all blocks, even without arguments | Marshall Lochbaum | |
| 2021-11-21 | Implement ⋈⁼ | Marshall Lochbaum | |
| 2021-11-21 | Minor simplification | Marshall Lochbaum | |
| 2021-11-21 | Skip checking for double-inverse of +-÷⋆√¬ to avoid some ↵ | Marshall Lochbaum | |
| precision-based failures | |||
| 2021-11-13 | Error on special names in strands in headers instead of emitting bad bytecode | Marshall Lochbaum | |
