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

https://github.com/brandly/elm-dot-lang

DOT Language
https://github.com/brandly/elm-dot-lang

ast dot graphviz parser

Last synced: about 1 year ago
JSON representation

DOT Language

Awesome Lists containing this project

README

          

# dot-lang [![Build Status](https://travis-ci.org/brandly/elm-dot-lang.svg?branch=master)](https://travis-ci.org/brandly/elm-dot-lang)

```elm
import DotLang

DotLang.fromString "graph { a -- b }"
-- => Ok (Dot Graph Nothing [EdgeStmtNode (NodeId (ID "a") Nothing) (EdgeNode (NodeId (ID "b") Nothing)) [] []])
```

### development

```
$ npm install
$ npm test
```

the fuzz tests might take a moment. to exclusively run unit tests on every save, do this:

```
$ npm test -- tests/Main.elm --watch
```

![dependencies](https://github.com/brandly/elm-dot-lang/blob/master/dependency-graph.svg)