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

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