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

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