-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
46 lines (28 loc) · 1.15 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
About
=====
This is an implementation of Datashape++ in OCaml. Datashape++ is a data
description language for modern array computing.
Datashape originated as part of the Blaze Project and is geared towards
high level languages like Python. Datashape++ contains a large subset
of Datashape together with some additional extensions. It targets low-level
languages.
Libdyndt is the reference implementation of Datashape++. Libdyndt is part of
the Libdynd suite, the other parts of Libdynd are an array library and an
array function library.
The raison d'etre for this package is to specify Datashape++ in BNF form,
using the traditional YACC syntax. Datashape++ input is converted into
an abstract syntax tree. The "indent" program reads input from a file
and pretty-prints the output to stdout.
Build (Debian/Ubuntu example)
=============================
sudo apt-get install ocaml-nox
git clone https://github.com/skrah/lowlevel-datashape.git
cd lowlevel-datashape
make
Indent a file
=============
# pretty-print:
./indent single-line-example.txt
# Dump the abstract syntax tree:
./dump_ast.sh single-line-example.txt
Contact: Stefan Krah <skrah@bytereef.org>