{"repo":"cosmos72/gomacro","free":true,"listed":false,"github":"https://github.com/cosmos72/gomacro","clone":"git clone https://github.com/cosmos72/gomacro.git","description":"Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros","language":"Go","stars":2287,"topics":["golang","interpreter","debugger","eval","repl","macros","generics"],"license":"MPL-2.0","category":"dev-tools","readme_excerpt":"gomacro - interactive Go interpreter and debugger with generics and macros gomacro is an almost complete Go interpreter, implemented in pure Go. It offers both an interactive REPL and a scripting mode, and does not require a Go toolchain at runtime (except in one very specific case: import of a 3 rd party package at runtime). It has two dependencies beyond the Go standard library: github.com/peterh/liner and golang.org/x/tools/go/packages Gomacro can be used as: a standalone executable with interactive Go REPL, line editing and code completion: just run gomacro from your command line, then type Go code. Example: press TAB to autocomplete a word, and press it again to cycle on possible completions. Line editing follows mostly Emacs: Ctrl+A or Home jumps to start of line, Ctrl+E or End jumps to end of line, Ald+D deletes word starting at cursor... For the full list of key bindings, see https://github.com/peterh/liner a tool to experiment with Go generics : see Generics a Go source code debugger: see Debugger an interactive tool to make science more productive and more fun. If you use compiled Go with scientific libraries (physics, bioinformatics, statistics...) you can import the same libraries from gomacro REPL (immediate on Linux and Mac OS X, requires restarting on other platforms, see Importing packages below), call them interactively, inspect the results, feed them to other functions/libraries, all in a single session. The imported libraries will be compiled , not interpre","default_branch":null,"files":null,"tree":[],"storefront":"/r/cosmos72","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cosmos72/gomacro/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."}