Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support/ directory so that library can use C support files
- Loading branch information
Edwin Brady
committed
Apr 10, 2012
1 parent
9e399b2
commit e7906ba
Showing
9 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
module language.reflection | |||
|
|||
TTName : Set | |||
TTName = String | |||
|
|||
data TT = Var TTName | |||
| Lam TTName TT TT | |||
| Pi TTName TT TT | |||
| Let TTName TT TT TT | |||
| App TTName TT TT | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
OBJS = testidr.o | |||
CFLAGS = `epic -includedirs` | |||
|
|||
LIBTARGET = libidris.a | |||
|
|||
check: $(OBJS) | |||
ar -r $(LIBTARGET) $(OBJS) | |||
|
|||
install: check | |||
install $(LIBTARGET) $(TARGET) | |||
|
|||
.PHONY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,6 @@ | |||
#include "testidr.h" | |||
#include <stdio.h> | |||
|
|||
void testIdr() { | |||
printf("Hello Idris support library!\n"); | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
#ifndef __TESTIDR_H | |||
#define __TESTIDR_H | |||
|
|||
void testIdr(); | |||
|
|||
#endif | |||
|