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