Skip to content
Felix S. Klock II edited this page Jul 28, 2013 · 1 revision

Here's are some notes PnkFelix is accumulating on how the Larceny make.sch and makefile.sch are set up. In the below bullets, (CAR DEPS) is a pattern that just means "the source code file" (the file format is context dependant).

  • MAKE-COMPILE-FILE produces .fasl files from .h or .sch files. (COMPILE-FILE (CAR DEPS))
  • MAKE-COMPILE-AND-ASSEMBLE produces .lop files from .h or .sch files (COMPILE-AND-ASSEMBLE313 (CAR DEPS) TARGET)
  • MAKE-COMPILE produces .lap from .sch files (COMPILE313 (CAR DEPS) TARGET)
  • MAKE-ASSEMBLE produces .lop files from .mal or .lap files (ASSEMBLE313 (CAR DEPS) TARGET)
  • MAKE-ASSEMBLE-FILE produces .fasl files from .mal files (ASSEMBLE-FILE (CAR DEPS))

A MakeProject is a (make:project String Clause ...)

A Clause is one of

  • (list 'RULES Rule ...)
  • (list 'TARGETS Target ...)
  • (list 'DEPENDENCIES Dependency ...)

A Rule is a (list dest src RuleXformProc) where dest and src are Filename Extension Strings.

A RuleXformProc is a (TargetString [Listof S**ourceFileName] -> Void)

{although every RuleXformProc I have seen seems to only look at the first element in the argument list).

Clone this wiki locally