{"repo":"michaelb/sniprun","free":true,"listed":false,"github":"https://github.com/michaelb/sniprun","clone":"git clone https://github.com/michaelb/sniprun.git","description":"A neovim plugin to run lines/blocs of code (independently of the rest of the file), supporting multiples languages","language":"Rust","stars":1710,"topics":["code","neovim","runner","languages","interpreter","compiled-language","interpreted-language","partial-evaluators","neovim-plugin","plugin"],"license":"MIT","category":"dev-tools","readme_excerpt":"Introduction Sniprun is a code runner plugin for neovim written in Lua and Rust. It aims to provide stupidly fast partial code testing for most interpreted and compiled language , right from within your favorite editor, blurring the line between standard save/run workflow, jupyter-like notebook, and REPL/interpreters. TLDR: { \"michaelb/sniprun\", \"build = \"sh install.sh\" } , :SnipRun , :' SnipRun , :SnipInfo Installation, configuration, ... See installation instructions , configuration tips , usage explanations and much more useful information on the WIKI. Demos Send to Sniprun snippets of any language A very simple example (Rust, of course), where current lines and visual selections are sent to sniprun via shortcuts. The result can be returned in multiple (even at the same time) ways: Classic Virtual Text/Virtual Line :------------------------------------------: :------------------: Temporary Floating Window Terminal Notification API REPL-like behavior is available for some languages Python, Julia, Lua, JavaScript & Typescript (via deno), Clojure, R, Mathematica, Sage, PHP, Swift, OCaml, and of course Rust (via evcxr), coming soon for many other interpreted (and compiled) languages. With REPL-like behavior ,you can run code dependent on previously executed code, just like in a REPL ! Features Sniprun is a way to quickly run small snippets of code, on the fly, and iterate very quickly and conveniently. To learn a language, to quickly experiment with new features (not yet embed","default_branch":null,"files":null,"tree":[],"storefront":"/r/michaelb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/michaelb/sniprun/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}