Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.54 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.54 KB

gremlin-repl

Build Status

A REPL for Gremlin.

This package provides an alternative for the console application provided with gremlin-node. Instead of using Node's REPL module, it uses the alternate REPL package repl-promise. See that package's README for the full rationale for not using Node's REPL.

The main reason for this alternate console is to allow writing unit tests for gremlin-node that are simply text files with console input, and their corresponding expected output transcripts. Most of the examples provided at gremlindocs.com have been ported as such tests. The resulting expected ouput transcript tests are useful documentation illustrating how the gremlin-node implementation differs from the Groovy Gremlin implementation.

Dependencies

This package is a work in progress, and currently relies on work in progress in the gremlin-node package. In particular, this package assumes the use of Promises that are being added to gremlin-node that are not yet available on the master branch, let alone in a published NPM module. See the package.json for its reference to a specific branch in the repo http://github.com/jimlloyd/gremlin-node.