Skip to content

Commit 3233ee6

Browse files
committedJul 24, 2019
initialize project
1 parent 8e0de24 commit 3233ee6

9 files changed

+46
-0
lines changed
 

‎.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Makefile
2+
Makefile.conf
3+
*.d
4+
*.aux
5+
*.glob
6+
*.vo
7+
*.a
8+
*.cmi
9+
*.cmx
10+
*.cmxa
11+
*.cmxs
12+
*.o
13+
.merlin

‎.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "plugin/src/coq-plugin-lib"]
2+
path = plugin/src/coq-plugin-lib
3+
url = https://github.com/uwplse/coq-plugin-lib.git

‎README.md

+12
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
This repository contains the `Preprocess` command by [Nate Yazdani](https://github.com/nateyazdani), which does simple match and fixpoint to eliminator translation for certain terms, as described in the [DEVOID paper](http://tlringer.github.io/pdf/ornpaper.pdf). This command is used in both [PUMPKIN PATCH](https://github.com/uwplse/PUMPKIN-PATCH) and [DEVOID](https://github.com/uwplse/ornamental-search). Here it exists as a standalone plugin so that others can build on it as desired.
2+
3+
This plugin depends on Coq 8.8 and our Coq plugin library.
4+
The library is included automatically.
5+
To build the standalone plugin, run:
6+
7+
```
8+
cd plugin
9+
./build.sh
10+
```
11+
12+
For examples of using this plugin within another plugin,
13+
see [PUMPKIN PATCH](https://github.com/uwplse/PUMPKIN-PATCH) and [DEVOID](https://github.com/uwplse/ornamental-search).

‎plugin/_CoqProject

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-I src
2+
-R src Fixtranslation
3+
-Q theories Fixtranslation
4+
5+
src/fixtranslation.ml4
6+
src/fixtoelim.mlpack
7+
8+
theories/Fixtoelim.v

‎plugin/build.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
git submodule init
3+
git submodule update
4+
coq_makefile -f _CoqProject -o Makefile
5+
make clean && make && make install
6+

‎plugin/src/coq-plugin-lib

Submodule coq-plugin-lib added at de8dcc7

‎plugin/src/fixtoelim.mlpack

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixtranslation

‎plugin/src/fixtranslation.ml4

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DECLARE PLUGIN "fixtoelim"

‎plugin/theories/Fixtoelim.v

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Declare ML Module "fixtoelim".

0 commit comments

Comments
 (0)
Please sign in to comment.