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

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