Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mauricioszabo/duck-repled

A library to transform your REPL interation into Pathom queries
https://github.com/mauricioszabo/duck-repled

Last synced: about 2 months ago
JSON representation

A library to transform your REPL interation into Pathom queries

Awesome Lists containing this project

README

        

# Duck-REPL'ed
[![](https://circleci.com/gh/mauricioszabo/duck-repled.svg?style=svg)]()

![A Duck](doc/duck.svg)

A library that transforms you REPL interactions into EQL queries. This means that it's easy to hook up a REPL eval-response, and get autocomplete, var definition, and other niceties "for free".

It'll also be used, in the future, both on Chlorine and Clover projects

## What's with the name?

It's a pun with "duck typed" - the idea that if something flies like a duck, quacks like a duck, it probably is a duck. That's the spirit of this project: if you can hook a REPL, you'll get an experience that's indistinguishable from a nREPL, or Language Server Protocol, or even static analysis. So, it's "duck-typing for REPLs" in a way.

As the idea of the project is also to be extensible, it's possible that if you hook an evaluation of another language, but somehow renders EDN, you have a clojure-like experience in a language where this would not be possible!

It's also a pun with "Pathom" and "Patão" (the [incredible library from Wilker Lúcio](https://github.com/wilkerlucio/pathom) and "duck", in Portuguese).