pilisp_cli 1.0.0-alpha.15
pilisp_cli: ^1.0.0-alpha.15 copied to clipboard
Shared code for running a command-line interface to the PiLisp programming language.
1.0.0-alpha.15 #
- Adds
--source-onlyoption tocompile execommand - Supports targeting either pilisp (core) or pilisp_native
- Better compilation failure reporting
- Use new public method for logging exceptions during PiLisp eval
1.0.0-alpha.14 #
- Adds
compilecommand. - For
loadcommand, changes--evalBeforeand--evalAfterto--eval-beforeand--eval-afterrespectively. - Adds
--[no-]printflag, to control whetherevalandloadcommands print their final expressions. - Corrects some async/await call sites.
1.0.0-alpha.13 #
- Ensure that
PLAwaitvalues are Dartawaited in the load and eval command paths.
1.0.0-alpha.12 #
- When no command provided, start the REPL.
1.0.0-alpha.11 #
- Completely revamped CLI arguments, using command-based syntax now. Run
helpfor top-level andhelp <command>for command-specific help. - If
--env-varsprovided to any of the sub-commands, PiLisp bindings are created for every entry inPlatform.environment, prefixed withenv/(e.g.,env/HOME).
1.0.0-alpha.10 #
- Improved auto-complete
- Moving the cursor or typing characters clears auto-complete results.
- Entering TAB in the middle of a line does not clear already-entered text from the display (never did so from the actual buffer).
- When all completion results share a further prefix than what the user typed, that shared prefix is proactively inserted.
- Example:
matfollowed by entering TAB will automatically insertmath/into the line and show all completion results for it.
- Example:
1.0.0-alpha.9 #
- Richer cli_repl with more editing commands and TAB completion for in-scope PiLisp bindings
- Repo changes to make pub.dev output more useful.
1.0.0-alpha.8 #
- Initial inclusion of cli_repl for richer REPL experience
- Supports
-eor--evalas CLI parameter for evaluating PiLisp forms directly