Skip to content
No description or website provided.
Standard ML Emacs Lisp Shell
Find file
Failed to load latest commit information.
Binarymap Initial revision. Jun 14, 2007
emacs Add a celf emacs mode, which appears to just be Twelf mode (???) and … Oct 7, 2011
tests Initial printing of epsilons - vars in ctx don't match names in terms? Feb 15, 2013
.gitignore Ignore generated l10.sml files Nov 4, 2011
.mkexec *** empty log message *** Mar 6, 2008
AbstractRecursion.sml *** empty log message *** Nov 20, 2010
ApproxTypes.sig *** empty log message *** Jun 9, 2010
ApproxTypes.sml *** empty log message *** Oct 28, 2010
BackTrack.sig added copyright header Mar 5, 2008
BackTrack.sml *** empty log message *** Jun 8, 2010
CHANGELOG Fixed a unification bug concerning lowering of logic variables in let… Mar 8, 2011
Context.sig Changed datatype name Context.mode -> Context.modality Oct 31, 2011
Context.sml Changed datatype name Context.mode -> Context.modality Oct 31, 2011
Conv.sig added copyright header Mar 5, 2008
Conv.sml *** empty log message *** Jun 10, 2010
DestCheck.sig Fix nontermination bug Nov 4, 2011
DestCheck.sml Fix nontermination bug Nov 4, 2011
Eta.sig Changed datatype name Context.mode -> Context.modality Oct 31, 2011
Eta.sml Changed datatype name Context.mode -> Context.modality Oct 31, 2011
ExactTypes.sig *** empty log message *** Jun 8, 2010
ExactTypes.sml *** empty log message *** Jan 25, 2011
GFPrint.sml fixed a bug in GFPrint May 7, 2013
GoalMode.sig Mode checker now uses normalized types. Fixes the issue of unhandled … Nov 9, 2011
GoalMode.sml Mode checker now uses normalized types. Fixes the issue of unhandled … Nov 9, 2011
ImplicitVars.sig *** empty log message *** May 10, 2008
ImplicitVars.sml *** empty log message *** Jun 9, 2010
ImplicitVarsConvert.sig *** empty log message *** May 10, 2008
ImplicitVarsConvert.sml *** empty log message *** Jun 9, 2010
Makefile Removed heap-size flag Jun 27, 2012
ModeCheck.sig Mode checker now uses normalized types. Fixes the issue of unhandled … Nov 9, 2011
ModeCheck.sml Integrated Twelf timing structures for profiling purposes Jun 25, 2012
ModeDec.sig Mode checker now uses normalized types. Fixes the issue of unhandled … Nov 9, 2011
ModeDec.sml Multiple files at the command line and better reporting of a number o… Apr 12, 2012
NatSet.sig NatSet Nov 2, 2010
NatSet.sml changed to sorted list representation Nov 3, 2010
NoPermuteList.sml added no permutelist.sml Jul 10, 2012
OpSem.sig Initial printing of epsilons - vars in ctx don't match names in terms? Feb 15, 2013
OpSem.sml Fixed OpSem interface. Jun 28, 2012
OpSemFair.sml Changed datatype name Context.mode -> Context.modality Oct 31, 2011
OpSemFair2.sml Comment out unnecessary printing in trace commands. Jul 25, 2013
Parse.sig clf ver 2 Feb 27, 2009
Parse.sml *** empty log message *** Mar 5, 2009
PatternBind.sig *** empty log message *** Oct 14, 2010
PatternBind.sml *** empty log message *** Oct 14, 2010
PatternNormalize.sig Mode checker now uses normalized types. Fixes the issue of unhandled … Nov 9, 2011
PatternNormalize.sml Mode checker now uses normalized types. Fixes the issue of unhandled … Nov 9, 2011
PermuteList.sig *** empty log message *** Apr 27, 2011
PermuteList.sml *** empty log message *** Apr 27, 2011
PrettyPrint.sig Initial printing of epsilons - vars in ctx don't match names in terms? Feb 15, 2013
PrettyPrint.sml Merge branch 'master' of https://github.com/clf/celf Feb 15, 2013
README Fix makefile installation error, add Smackage instructions to README Nov 5, 2011
RandomAccessList.sig Changed ctx to RAList Nov 5, 2010
RandomAccessList.sml *** empty log message *** Nov 5, 2010
RedBlackTree.fun Reimplemented fresh-name generation for pretty-printing. Jul 13, 2012
RemDepend.sig *** empty log message *** May 10, 2008
RemDepend.sml Changed ctx to RAList Nov 5, 2010
Rnd-mlkit.sml added copyright header Mar 5, 2008
Rnd-smlnj-mlton.sml *** empty log message *** Mar 6, 2008
Rnd.sig added copyright header Mar 5, 2008
Signatur.sml Make major whitespare/style changes in TypeRecon, because I couldn't … Mar 29, 2012
SignaturTable.sig Signature reset function Apr 12, 2011
SignaturTable.sml Signature reset function Apr 12, 2011
SimpleList.sml Added SimpleList.sml: implementation of RandomAccessList using ML lists. Jul 17, 2012
Skel.sig Add Skel, which I think will help me write DestCheck Nov 4, 2011
Skel.sml Change exex Nov 6, 2011
Subst.sml Changed datatype name Context.mode -> Context.modality Oct 31, 2011
SymbTable.sig added copyright header Mar 5, 2008
SymbTable.sml *** empty log message *** Mar 6, 2008
Syntax.sig Merge branch 'master' of github.com:clf/celf Apr 13, 2012
Syntax.sml Merge branch 'master' of github.com:clf/celf Apr 13, 2012
Table.sig Reimplemented fresh-name generation for pretty-printing. Jul 13, 2012
Table.sml Reimplemented fresh-name generation for pretty-printing. Jul 13, 2012
Timers.sig Added unification Timer. Jun 28, 2012
Timers.sml Added unification Timer. Jun 28, 2012
Timing.sig added the missing files to git Jun 26, 2012
Timing.sml added no permutelist.sml Jul 10, 2012
TopLevelUtil.sml Add ability to do regression testing Nov 1, 2011
TypeCheck.sig clf ver 2 Feb 27, 2009
TypeCheck.sml Changed ctx to RAList Nov 5, 2010
TypeRecon.sig added printgf Apr 3, 2013
TypeRecon.sml added printgf Apr 3, 2013
Unify.sig *** empty log message *** Jan 19, 2011
Unify.sml Added unification Timer. Jun 28, 2012
Util.sig *** empty log message *** Mar 25, 2009
Util.sml *** empty log message *** Mar 25, 2009
VRef.sig added copyright header Mar 5, 2008
VRef.sml *** empty log message *** May 15, 2008
celf-mlkit.mlb Changed ctx to RAList Nov 5, 2010
celf.grm Removing unneccesary whitespace changes Apr 6, 2012
celf.lex Delete redundant eof function. Apr 15, 2012
celf.mlb added printgf Apr 3, 2013
license-gpl3.txt *** empty log message *** Mar 5, 2008
main-export.sml *** empty log message *** Mar 7, 2008
main-run.sml *** empty log message *** Mar 7, 2008
main.sml Add a -time flag to report Carsten's timing information Jul 25, 2013
makedist.sh *** empty log message *** Jan 25, 2011
notes Notes that were not checked in to old repository Oct 7, 2011
sources.cm fixed omitted function problem Apr 5, 2013

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

Something went wrong with that request. Please try again.