Ilya Yanok 23c9474092 [ whitespace ] untabify everything 10 år sedan
..
AlonzoPrelude.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
BadPrintf.agda 23c9474092 [ whitespace ] untabify everything 10 år sedan
BadPrintf2.agda 23c9474092 [ whitespace ] untabify everything 10 år sedan
Bool.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
Bool.hs e227990568 [ fix-agda-whitespace ] Don't running from the src/directoy but the base directory. 10 år sedan
ListTest.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
Makefile 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
Point.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
Point.hs e227990568 [ fix-agda-whitespace ] Don't running from the src/directoy but the base directory. 10 år sedan
PreludeAll.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
PreludeBool.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
PreludeInt.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
PreludeList.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
PreludeNat.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
PreludeNatType.agda d05260528c [ issue 730 ] BUILTIN NATURAL now binds ZERO and SUC 11 år sedan
PreludeNatType.hs e227990568 [ fix-agda-whitespace ] Don't running from the src/directoy but the base directory. 10 år sedan
PreludeShow.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
PreludeString.agda 23c9474092 [ whitespace ] untabify everything 10 år sedan
Primitive.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
PrintFloat.agda 23c9474092 [ whitespace ] untabify everything 10 år sedan
PrintNat.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
Printf.agda 23c9474092 [ whitespace ] untabify everything 10 år sedan
Proj.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
Q.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
README 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
RTD.hs e227990568 [ fix-agda-whitespace ] Don't running from the src/directoy but the base directory. 10 år sedan
RTN.agda d05260528c [ issue 730 ] BUILTIN NATURAL now binds ZERO and SUC 11 år sedan
RTN.hs e227990568 [ fix-agda-whitespace ] Don't running from the src/directoy but the base directory. 10 år sedan
RTP.agda 23c9474092 [ whitespace ] untabify everything 10 år sedan
RTP.hs 23c9474092 [ whitespace ] untabify everything 10 år sedan
RTP.hs.sav 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
RTS.hs e227990568 [ fix-agda-whitespace ] Don't running from the src/directoy but the base directory. 10 år sedan
Records.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
Records.hs e227990568 [ fix-agda-whitespace ] Don't running from the src/directoy but the base directory. 10 år sedan
TestInt.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
TestNat.agda 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan
TestVec.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
TestWith.agda dcd3b453cb [ fix-agda-whithespace ] Added .agda, .cabal and .md files. 10 år sedan
Vec.agda 23c9474092 [ whitespace ] untabify everything 10 år sedan
almake 689c6aaa09 Moved away or fixed many broken example files. 16 år sedan

README

== Using Alonzo ==

agda --alonzo File.agda

or

agda -c File.agda

produces File.hs

compile it with
ghc -c File.hs

The main module should contain the function mainS : String, compile it with

ghc --make -main-is File.main File.hs

There is a shell script "almake" that will do both, provided you have
compiled all dependencies beforehand.

Prerequisites

You need the following runtime files:

RTS.hs RTN.hs RTP.hs
RTN.agda RTP.agda

NEVER run agda -c on RT* files as it will destroy the corresponding .hs files

There is a "runtime" target in the Makefile, so running

make runtime

will compile the runtime files for you.

There is a small prelude included, you can compile it with

make prelude