Repository navigation
v0.6.0
Changelog
0.6.0
Interaction nets you can see (with a Mimic that has mimic net show and mimic net trace).
- Show net above every function that compiles to an interaction net, and Mimic: Show Interaction Net (also for
.mnetfiles): its definitions drawn as graphs. Nodes are triangles with the principal port on top (references, numbers and erasers are circles), active pairs are orange, and a reference opens its definition when clicked; any other node opens the function's code. Drag and zoom; Fit; the definitions as text. - Before compile-time reduction: the nets as compiled from the code, and how many nodes the compiler removed.
- Trace: give the arguments and the call is reduced round by round with the runtime's rules: the result, the interactions, the rules that fired, a chart of how many redexes each round had (the parallelism the net offers), and a player that steps through the rounds while the net is small enough to draw.
- Export SVG of the net as drawn.
.mnetfiles: errors on save, formatting, and what each kind of node is on hover.
0.5.0
Where the time goes, where code runs, and the REPL (with Mimic 0.3.13 or newer).
- Profile above
fn main, and Mimic: Profile: runsmimic profileand opens a panel with each function's share of the time (self, and with what it calls) next to where the compiler runs it, the runtime functions that took it, a bar per core showing how busy it was, GPU time and memory. Profile again and the panel shows each function's change since the last run. - The share of time in the code: after a profile, each function's first line ends with its share (🔥 25% and more), with the details on hover (
mimic.profile.showInCode). - The Mimic side bar: Hot Functions (the last profile, click to jump) and Where Code Runs (every decision of
mimic whyfor the open file:∥ parallel,⇶ fused,≋ SIMD,▣ GPU, … with the reason on hover). - The REPL: Mimic: Open REPL runs
mimic replin a terminal; Shift+Enter sends the selection, or the current line, to it.
0.4.0
Setup that just works.
- Finds Mimic by itself. VS Code started from the Dock, Finder or a desktop menu does not see the PATH your shell's start-up files set, so it asked for
mimic.patheven with Mimic installed. It now looks where your terminal does (VS Code's PATH, then your login shell's), then where the installers put Mimic (~/.mimic/bin,%USERPROFILE%\.mimic\bin,$MIMIC_HOME/bin).mimic.pathis only for amimicelsewhere. - The status bar shows the Mimic in use and what it can do (the language server, debugging, where code runs, profiling, the REPL); click it to update Mimic, choose another
mimic, find it again, or see the log. - Mimic: Install or Update Mimic downloads the release for your machine from GitHub, checks it against the release's
SHA256SUMS, and runs its installer, after asking. - Errors on save with an older Mimic. A Mimic without the language server (before 0.3.4) still shows its errors, when a file is saved (
mimic check). - Clear messages: a feature this Mimic cannot do says which version brings it, with an Update Mimic button.
- Update checks, once a day: a newer Mimic, and a newer version of this extension (installed from GitHub in one click).
mimic.checkForUpdatesturns them off. - Get Started: a walkthrough from installing Mimic to running, testing and the manual.
0.3.6
The first release. It needs a mimic with mimic lsp (from 0.3.4; debugging needs mimic dap, from 0.3.6).
- Highlighting for
.mimand.mnet(the grammars of mimic-syntax), also insidemimiccode blocks of Markdown files. mimic lsp: errors as you type with quick fixes, hover, go to definition (into the standard library), find references, completion, glyph input (\i→⍳), formatting, the outline, workspace symbols, and names from C in their own colour.- The glyph palette (
Cmd/Ctrl+Alt+G): every glyph with its word, how to type it and what it does. - Run above
fn mainand Run test above each test; the Test Explorer runstestblocks and examples in comments, and shows both sides of a failedexpect. - The manual beside the code: open a page, search it, or
Cmd/Ctrl+Alt+Mfor the word under the cursor. - Debugging with
mimic dap(F5, or Debug abovefn main): breakpoints, stepping, and variables shown as Mimic prints them. - Convert a file to glyphs or to words.
- Checks that
mimicis installed and has the language server, and offers the download when it does not.