No description, website, or topics provided.
Standard ML Emacs Lisp Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Binarymap
emacs
tests
.gitignore
.mkexec
AbstractRecursion.sml
ApproxTypes.sig
ApproxTypes.sml
BackTrack.sig
BackTrack.sml
CHANGELOG
Context.sig
Context.sml
Conv.sig
Conv.sml
DestCheck.sig
DestCheck.sml
Eta.sig
Eta.sml
ExactTypes.sig
ExactTypes.sml
GFPrint.sml
GoalMode.sig
GoalMode.sml
ImplicitVars.sig
ImplicitVars.sml
ImplicitVarsConvert.sig
ImplicitVarsConvert.sml
Makefile
ModeCheck.sig
ModeCheck.sml
ModeDec.sig
ModeDec.sml
NatSet.sig
NatSet.sml
NoPermuteList.sml
OpSem.sig
OpSem.sml
OpSemFair.sml
OpSemFair2.sml
Parse.sig
Parse.sml
PatternBind.sig
PatternBind.sml
PatternNormalize.sig
PatternNormalize.sml
PermuteList.sig
PermuteList.sml
PrettyPrint.sig
PrettyPrint.sml
README
RandomAccessList.sig
RandomAccessList.sml
RedBlackTree.fun
RemDepend.sig
RemDepend.sml
Rnd-mlkit.sml
Rnd-smlnj-mlton.sml
Rnd.sig
Signatur.sml
SignaturTable.sig
SignaturTable.sml
SimpleList.sml
Skel.sig
Skel.sml
Subst.sml
SymbTable.sig
SymbTable.sml
Syntax.sig
Syntax.sml
Table.sig
Table.sml
Timers.sig
Timers.sml
Timing.sig
Timing.sml
TopLevelUtil.sml
TypeCheck.sig
TypeCheck.sml
TypeRecon.sig
TypeRecon.sml
Unify.sig
Unify.sml
Util.sig
Util.sml
VRef.sig
VRef.sml
celf-mlkit.mlb
celf.grm
celf.lex
celf.mlb
license-gpl3.txt
main-export.sml
main-run.sml
main.sml
makedist.sh
notes
sources.cm

README

Celf README

Celf can be compiled with several different ML compilers.
Here is instructions for a few of them:

To compile with Smackage:

      $ smackage get celf
      $ smackage make celf smlnj (or mlton)
      $ smackage make celf install

To compile Celf with SML/NJ:

1. Compile the source into a heapimage (.heapimg.<arch>-<opsys>):

      sml < main-export.sml

2. Create a shell script to load the runtime with the heap image,
   e.g. with the .mkexec script:

      ./.mkexec `which sml` `pwd` celf


To compile Celf with MLton:

1. Compile the lexer definition, parser definition, and the rest
   of the source:

      mllex celf.lex
      mlyacc celf.grm
      mlton celf.mlb


TROUBLESHOOTING
If you get the following error when compiling with SML/NJ

      ["/usr/lib/smlnj/bin/ml-yacc" "" "celf.grm"]
      Usage: ml-yacc filename
      sources.cm:25.1-25.9 Error: tool "ML-Yacc" failed: "/usr/lib/smlnj/bin/ml-yacc" "" "celf.grm"

then simply run ml-yacc manually by removing the superfluous argument added by
the compilation manager and rerun sml:

      /usr/lib/smlnj/bin/ml-yacc celf.grm
      sml < main-export.sml