public inbox for cgen-cvs@sourceware.org
help / color / mirror / Atom feed
* src/cgen ChangeLog Makefile.am Makefile.in con ...
@ 2009-07-14 16:08 devans
  0 siblings, 0 replies; 2+ messages in thread
From: devans @ 2009-07-14 16:08 UTC (permalink / raw)
  To: cgen-cvs

CVSROOT:	/cvs/src
Module name:	src
Branch: 	dje-cgen-play1-branch
Changes by:	devans@sourceware.org	2009-07-14 16:08:52

Modified files:
	cgen           : ChangeLog Makefile.am Makefile.in configure 
	                 configure.in dev.scm pmacros.scm read.scm 
	                 utils.scm 
	cgen/cpu       : play.cpu 
	cgen/doc       : cgenint.texi pmacros.texi 
Added files:
	cgen           : cgen-testsuite.scm testsuite.scm 
	cgen/testsuite : Makefile.am Makefile.in pmacros-1.test 
	                 run-tests.sh test-utils.sh.in testsuite.cpu 

Log message:
	Copy over from trunk.
	Extend pmacro language, add testsuite.
	* Makefile.am (SUBDIRS): Add testsuite.
	* Makefile.in: Regenerate.
	* configure.in (AC_OUTPUT): Create testsuite/Makefile,
	testsuite/test-utils.sh.
	* configure: Regenerate.
	* dev.scm (cload): Handle testsuite app.
	(load-testsuite): New function.
	* pmacros.scm: (-pmacro-debug?): New global.
	(-smacro-table): New global.
	(-smacro-lookup, -smacro-set!): New functions.
	(-pmacro-make): New argument `syntactic-form?', all callers updated.
	(-pmacro-syntactic-form?): New function.
	(-pmacro-expected-number, -pmacro-verify-number): New functions.
	(-pmacro-expected-integer, -pmacro-verify-integer): New functions.
	(-pmacro-expected-non-negative-integer): New function.
	(-pmacro-verify-non-negative-integer): New function.
	(-pmacro-expand-expr-list): New function.
	(-pmacro-process-args-1): Renamed from -pmacro-process-args.
	(-pmacro-process-args): Renamed from -pmacro-invoke.
	(-pmacro-apply, -smacro-apply): New functions.
	(-pmacro-expand): Rewrite syntactic form processing.
	(-pmacro-build-lambda): Reformat.
	(define-pmacro): Watch for more errors in definition.
	(pmacro-debug): New function.
	(pmacro-trace): Set/reset -pmacro-debug?.
	(all existing builtin pmacro helpers): Rename to -pmacro-builtin-foo.
	(-pmacro-builtin-substring): Fix.  Add support for `end' marker.
	(-pmacro-builtin-for-each, et.al.): New helpers for .for-each, .let,
	.if, .case, .cond, .begin, .print, .dump, .error, .list, .ref,
	.length, .replicate, .equals, .and, .or, .not, .eq, .ne, .lt, .gt,
	.le, .ge, .add, .sub, .mul, .div, .rem, .sll, .srl, .sra, .bitand,
	.bitor, .bitxor, bitinv, .car, .cdr, .caar, .cadr, .cdar, .cddr.
	(pmacros-init!): Initialize -smacro-table.
	Rewrite pmacro initialization.
	* read.scm (reader-process-expanded): Renamed from
	-reader-process-expanded.  All callers updated.
	Recognize () as a no-op.
	(cpu-load): Tweak logging messages.
	* utils.scm (message): Add comment.
	* cpu/play.cpu: Add some instructions to play with .let.
	* doc/cgenint.texi: Move some debugging related docs to here from
	cgen.texi.
	* doc/pmacros.texi: Reorganize.  Add docs for new builtin pmacros.
	* testsuite/Makefile.am: New file.
	* testsuite/Makefile.in: New file.
	* testsuite/test-utils.sh.in: New file.
	* testsuite/run-tests.sh: New file.
	* testsuite/testsuite.cpu: New file.
	* testsuite/pmacros-1.test: New file.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/cgen-testsuite.scm.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite.scm.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/ChangeLog.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.289&r2=1.289.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/Makefile.am.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.7&r2=1.7.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/Makefile.in.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.9&r2=1.9.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/configure.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.6&r2=1.6.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/configure.in.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.5&r2=1.5.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/dev.scm.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.12&r2=1.12.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/pmacros.scm.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.6&r2=1.6.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/read.scm.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.19&r2=1.19.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/utils.scm.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.22&r2=1.22.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/cpu/play.cpu.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.3&r2=1.3.66.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/doc/cgenint.texi.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.1&r2=1.1.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/doc/pmacros.texi.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=1.5&r2=1.5.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/Makefile.am.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/Makefile.in.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/pmacros-1.test.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/run-tests.sh.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/test-utils.sh.in.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/testsuite.cpu.diff?cvsroot=src&only_with_tag=dje-cgen-play1-branch&r1=NONE&r2=1.1.2.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* src/cgen ChangeLog Makefile.am Makefile.in con ...
@ 2009-07-13 20:55 devans
  0 siblings, 0 replies; 2+ messages in thread
From: devans @ 2009-07-13 20:55 UTC (permalink / raw)
  To: cgen-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	devans@sourceware.org	2009-07-13 20:55:21

Modified files:
	cgen           : ChangeLog Makefile.am Makefile.in configure 
	                 configure.in dev.scm pmacros.scm read.scm 
	                 utils.scm 
	cgen/cpu       : play.cpu 
	cgen/doc       : cgenint.texi pmacros.texi 
Added files:
	cgen           : cgen-testsuite.scm testsuite.scm 
	cgen/testsuite : Makefile.am Makefile.in pmacros-1.test 
	                 run-tests.sh test-utils.sh.in testsuite.cpu 

Log message:
	Extend pmacro language, add testsuite.
	* Makefile.am (SUBDIRS): Add testsuite.
	* Makefile.in: Regenerate.
	* configure.in (AC_OUTPUT): Create testsuite/Makefile,
	testsuite/test-utils.sh.
	* configure: Regenerate.
	* dev.scm (cload): Handle testsuite app.
	(load-testsuite): New function.
	* pmacros.scm: (-pmacro-debug?): New global.
	(-smacro-table): New global.
	(-smacro-lookup, -smacro-set!): New functions.
	(-pmacro-make): New argument `syntactic-form?', all callers updated.
	(-pmacro-syntactic-form?): New function.
	(-pmacro-expected-number, -pmacro-verify-number): New functions.
	(-pmacro-expected-integer, -pmacro-verify-integer): New functions.
	(-pmacro-expected-non-negative-integer): New function.
	(-pmacro-verify-non-negative-integer): New function.
	(-pmacro-expand-expr-list): New function.
	(-pmacro-process-args-1): Renamed from -pmacro-process-args.
	(-pmacro-process-args): Renamed from -pmacro-invoke.
	(-pmacro-apply, -smacro-apply): New functions.
	(-pmacro-expand): Rewrite syntactic form processing.
	(-pmacro-build-lambda): Reformat.
	(define-pmacro): Watch for more errors in definition.
	(pmacro-debug): New function.
	(pmacro-trace): Set/reset -pmacro-debug?.
	(all existing builtin pmacro helpers): Rename to -pmacro-builtin-foo.
	(-pmacro-builtin-substring): Fix.  Add support for `end' marker.
	(-pmacro-builtin-for-each, et.al.): New helpers for .for-each, .let,
	.if, .case, .cond, .begin, .print, .dump, .error, .list, .ref,
	.length, .replicate, .equals, .and, .or, .not, .eq, .ne, .lt, .gt,
	.le, .ge, .add, .sub, .mul, .div, .rem, .sll, .srl, .sra, .bitand,
	.bitor, .bitxor, bitinv, .car, .cdr, .caar, .cadr, .cdar, .cddr.
	(pmacros-init!): Initialize -smacro-table.
	Rewrite pmacro initialization.
	* read.scm (reader-process-expanded): Renamed from
	-reader-process-expanded.  All callers updated.
	Recognize () as a no-op.
	(cpu-load): Tweak logging messages.
	* utils.scm (message): Add comment.
	* cpu/play.cpu: Add some instructions to play with .let.
	* doc/cgenint.texi: Move some debugging related docs to here from
	cgen.texi.
	* doc/pmacros.texi: Reorganize.  Add docs for new builtin pmacros.
	* testsuite/Makefile.am: New file.
	* testsuite/Makefile.in: New file.
	* testsuite/test-utils.sh.in: New file.
	* testsuite/run-tests.sh: New file.
	* testsuite/testsuite.cpu: New file.
	* testsuite/pmacros-1.test: New file.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/cgen-testsuite.scm.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite.scm.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/ChangeLog.diff?cvsroot=src&r1=1.301&r2=1.302
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/Makefile.am.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/Makefile.in.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/configure.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/configure.in.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/dev.scm.diff?cvsroot=src&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/pmacros.scm.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/read.scm.diff?cvsroot=src&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/utils.scm.diff?cvsroot=src&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/cpu/play.cpu.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/doc/cgenint.texi.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/doc/pmacros.texi.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/Makefile.am.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/Makefile.in.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/pmacros-1.test.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/run-tests.sh.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/test-utils.sh.in.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/testsuite/testsuite.cpu.diff?cvsroot=src&r1=NONE&r2=1.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-14 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-14 16:08 src/cgen ChangeLog Makefile.am Makefile.in con devans
  -- strict thread matches above, loose matches on Subject: below --
2009-07-13 20:55 devans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).