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

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