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

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