~ehmry/dhall-nim

015f46467e5c19f55f4959b60437db1dce1a2538 — Emery Hemingway 10 months ago 8863794
Add README, ISC license
6 files changed, 37 insertions(+), 1 deletions(-)

A .gitignore
A LICENSES/ISC.txt
A README.md
M dhall.nimble
M src/dhall.nim
M src/xml_to_dhall.nim
A .gitignore => .gitignore +4 -0
@@ 0,0 1,4 @@
.history
.reuse
tests/test_standard
xml_to_dhall

A LICENSES/ISC.txt => LICENSES/ISC.txt +14 -0
@@ 0,0 1,14 @@
ISC License Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")

Copyright (c) 1995-2003 by Internet Software Consortium

Permission to use, copy, modify, and /or distribute this software for any
purpose with or without fee is hereby granted, provided that the above copyright
notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD
TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

A README.md => README.md +10 -0
@@ 0,0 1,10 @@
# Dhall

This is a dhall evaluator in pure Nim. Its not complete, but suitable for some
limited purposes.

## xml_to_dhall

A simple utility for [demonstrating](./src/dhall/xml.nim) how to work with Dhall
from within Nim. Converts XML to Dhall in the same way that `json-to-dhall`
converts JSON to Dhall.

M dhall.nimble => dhall.nimble +1 -1
@@ 3,7 3,7 @@
version       = "0.1.0"
author        = "Emery Hemingway"
description   = "Dhall language evaluator"
license       = "GPL-3.0"
license       = "ISC"
srcDir        = "src"
installExt    = @["nim"]
bin           = @["xml_to_dhall"]

M src/dhall.nim => src/dhall.nim +4 -0
@@ 1,3 1,7 @@
# SPDX-FileCopyrightText: 2020 Emery Hemingway
#
# SPDX-License-Identifier: ISC

import ./dhall/normalization, ./dhall/parse, ./dhall/resolution, ./dhall/terms

export normalization.eval

M src/xml_to_dhall.nim => src/xml_to_dhall.nim +4 -0
@@ 1,3 1,7 @@
# SPDX-FileCopyrightText: 2020 Emery Hemingway
#
# SPDX-License-Identifier: ISC

import dhall/binary, dhall/render, dhall/xml
import std/parseopt, std/xmlparser