Commit Graph

16 Commits

Author SHA1 Message Date
jottbee b4382fa7b7 make-rule now uses the sort function of dfs, added the predicate
function position< therefore and changed the rule-node/sort-msgs
function accordingly.
fixed rule-node/make: now prereqs-results is checked for being an
empty list -> init-state is now passed properly, prereqs-results are
well-formed now. apply is only used for non-empty prereqs-results
(then the number of prereqs is unknown here).
2005-02-14 07:13:14 +00:00
jottbee 2479676e2d added a comment, improved error message for unresolveable adjacencies,
a sort function is now part of this module, so it can be used standing
alone
2005-02-14 06:48:08 +00:00
jottbee a8dd2ab60b examples: a small c program to be build through makefile-c.scm
to-rule-set: rule-candidates -> dfs -> '(#{:rule} ...) -> rule-set

dfs:      depth first topological sort with automatic leaf insertion

out-of-date: replaced by templates.scm

rule-trans-set: replaced by to-rule-set
2005-02-04 08:05:55 +00:00
jottbee 5b462916b1 dfs.scm: depth-first-search/sort algorithm, work in progress...\n to-rule-set.scm: calls dfs, work in progress... 2005-01-21 15:40:59 +00:00
jottbee afb60fbb74 to-rule-set.scm: future replacement for rule-trans-set.scm,\n depth-first-search will be called from here. 2005-01-21 09:09:31 +00:00
jottbee 053efed211 *** empty log message *** 2005-01-20 10:19:30 +00:00
jottbee 2ee328949e makefile.scm: (expand-file-name ...) works now due to s,assq,assoc, in
macros.scm and rule-trans-set.scm

rule-trans-set.scm: known-rules-update is now really ugly! (but working)
		    will be replaced with topological sort

		    known-rules-update now loops until there are no
		    further changes in the rule-candidates-list (each
		    time). this should really make it work now.

makros.scm replaced with macros.scm

macros.scm: in make-is-out-of-date? there was no check for
            file-existence of each prereq
2005-01-20 10:18:07 +00:00
jottbee 5277066db6 *** empty log message *** 2005-01-19 14:50:45 +00:00
jottbee dbda21b92a *** empty log message *** 2005-01-18 19:28:50 +00:00
jottbee af7d20c1b2 *** empty log message *** 2005-01-18 15:45:27 +00:00
jottbee 3e19944116 work in progress: macros rule-trans-set 2005-01-18 15:18:22 +00:00
jottbee d42d574bf6 make-rule and make-rule-no-cml work with new interface.\n\nmakros: ?prereqs can be expression 2005-01-17 16:56:59 +00:00
jottbee 8cb0012a99 *** empty log message *** 2005-01-17 07:56:42 +00:00
jottbee a96da29be7 Initial import. 2005-01-17 07:56:42 +00:00
jottbee ec29e6728e *** empty log message *** 2005-01-17 07:56:42 +00:00
jottbee 9361340eab *** empty log message *** 2005-01-13 11:30:05 +00:00