]> thyrsus.com Git - intercal.git/log
intercal.git
16 years agoFix command to obtain cfunge in the README too
Alex Smith [Mon, 27 Sep 2010 10:45:27 +0000 (11:45 +0100)]
Fix command to obtain cfunge in the README too

16 years agoFix permute.i test failure, and clean up build system and boolean detection
Alex Smith [Mon, 27 Sep 2010 10:28:09 +0000 (11:28 +0100)]
Fix permute.i test failure, and clean up build system and boolean detection

The cause of the bug was that "bool" referred to a different type in libick.a
and in compiled programs, which could be caused by, e.g., different compilers
(entirely plausible in cross-compiling) or a different header environment
(what actually happened was a missing config.h, as that isn't installed). The
fix used here was to change abcess.h from immutable to a generated file,
containing the boolean types actually used to build C-INTERCAL and requiring
their use for the eventually generated programs, preventing the type mismatch.
This fails if C-INTERCAL is built with a compiler that supports booleans, and
run with a $CC that doesn't, but at least it now fails noisly in that case
rather than silently, with nothing but a mysterious regression check failure
in permute.i.

As part of this, config.h was cleaned up; configuration #defines now
consistently use the values 1 or undef, rather than /**/ or undef sometimes,
and 1 or undef other times; this is needed to AC_SUBST the values into
abcess.h correctly, but is useful cleanup in any case.

16 years agoMerge branch 'master' of gitorious.org:intercal/intercal
Eric S. Raymond [Fri, 10 Sep 2010 10:33:43 +0000 (06:33 -0400)]
Merge branch 'master' of gitorious.org:intercal/intercal

16 years agoAdded draft RFC on IFFY IPV6 encoding.
Eric S. Raymond [Fri, 10 Sep 2010 10:32:40 +0000 (06:32 -0400)]
Added draft RFC on IFFY IPV6 encoding.

16 years agoFix Befunge-98 FFI, and correct manual to match
Alex Smith [Fri, 10 Sep 2010 06:46:47 +0000 (07:46 +0100)]
Fix Befunge-98 FFI, and correct manual to match

16 years agoFix some bugs and nonportabilities pointed out by clang
Alex Smith [Tue, 7 Sep 2010 20:28:07 +0000 (21:28 +0100)]
Fix some bugs and nonportabilities pointed out by clang

The build now works correctly under clang; usefully, it seems to make
the intermittently-working permute test fail more reliably. It's always
nice to get the opinion of a second compiler!

16 years agoMerge branch 'master' of git://gitorious.org/intercal/intercal
Alex Smith [Tue, 7 Sep 2010 19:56:43 +0000 (20:56 +0100)]
Merge branch 'master' of git://gitorious.org/intercal/intercal

16 years agoLet configure check for the varargs/_Bool interaction
Alex Smith [Tue, 7 Sep 2010 19:54:44 +0000 (20:54 +0100)]
Let configure check for the varargs/_Bool interaction

According to the C standard, passing _Bool via varargs is undefined
behaviour. This lets autoconf check to see whether it actually works,
and casts to int in the relevant location if it doesn't. (Recent gcc
will compile an attempt to access a boolean via varargs into an
illegal instruction.)

16 years agoIt's better for compilation to fail than for ICKDATADIR to ber silently wrong.
Eric S. Raymond [Tue, 7 Sep 2010 19:53:41 +0000 (15:53 -0400)]
It's better for compilation to fail than for ICKDATADIR to ber silently wrong.

16 years agoAvoid being misleading about magic inclusion.
Eric S. Raymond [Tue, 7 Sep 2010 11:38:13 +0000 (07:38 -0400)]
Avoid being misleading about magic inclusion.

16 years agoImprove the organization of the system-library documentation.
Eric S. Raymond [Tue, 7 Sep 2010 11:05:42 +0000 (07:05 -0400)]
Improve the organization of the system-library documentation.

16 years agoRetitle "System Library" to "System Libraries", add a section
Eric S. Raymond [Tue, 7 Sep 2010 10:36:55 +0000 (06:36 -0400)]
Retitle "System Library" to "System Libraries", add a section
documenting the floarting-point library.

16 years agoThe test for ignored arrays should probably also test resizing
Alex Smith [Sun, 5 Sep 2010 08:05:31 +0000 (09:05 +0100)]
The test for ignored arrays should probably also test resizing

16 years agoBuild system working on DOS; add necessary scripts and documentation
Alex Smith [Sun, 5 Sep 2010 08:00:59 +0000 (09:00 +0100)]
Build system working on DOS; add necessary scripts and documentation

Unfortunately, the resulting programs don't actually /run/ correctly
on DOS yet, but rather crash with SIGILL (at _ick_resize plus 3 bytes).
I suspect this is linked to the bool-with-varargs problem somehow.
There's also a problem with clock slew / failure to restore timestamps
when building without yacc/lex, which needs fixing (and unfortunately,
adding a few uses of "touch" doesn't seem to work on DOS for some
reason).

16 years agoNew test "ignorearray", for the IGNORE/array interaction
Alex Smith [Sun, 5 Sep 2010 04:45:36 +0000 (05:45 +0100)]
New test "ignorearray", for the IGNORE/array interaction

This one's needed because it catches potential issues with attempting
to pass booleans to a varargs function, at least with the current code.

16 years agoHandle missing lex and/or yacc correctly
Alex Smith [Sun, 5 Sep 2010 04:37:20 +0000 (05:37 +0100)]
Handle missing lex and/or yacc correctly

This depends on the system in question having sane timestamps. Apparently,
DOS doesn't, and DOSBox even less so; I'm not sure what to do about this,
but this fix doesn't harm anything, and helps on systems like Linux and
OS X that are missing lex/flex and/or yacc/bison.

16 years agoln -s doesn't overwrite files by default, we need it to
Alex Smith [Sun, 5 Sep 2010 00:15:39 +0000 (01:15 +0100)]
ln -s doesn't overwrite files by default, we need it to

16 years agoPortability fixes for DOS/Windows
Alex Smith [Sat, 4 Sep 2010 20:55:28 +0000 (21:55 +0100)]
Portability fixes for DOS/Windows

16 years agoReword a confusing sentence.
Eric S. Raymond [Fri, 3 Sep 2010 16:19:51 +0000 (12:19 -0400)]
Reword a confusing sentence.

16 years agoTypo fix.
Eric S. Raymond [Fri, 3 Sep 2010 16:01:13 +0000 (12:01 -0400)]
Typo fix.

16 years agoRemove unused test production.
Eric S. Raymond [Fri, 3 Sep 2010 15:25:38 +0000 (11:25 -0400)]
Remove unused test production.

16 years agoClean up after manual makes better.
Eric S. Raymond [Fri, 3 Sep 2010 15:24:49 +0000 (11:24 -0400)]
Clean up after manual makes better.

16 years agoTypo fix.
Eric S. Raymond [Fri, 3 Sep 2010 08:33:58 +0000 (04:33 -0400)]
Typo fix.

16 years agoMerge branch 'master' of gitorious.org:intercal/intercal
Eric S. Raymond [Fri, 3 Sep 2010 08:29:34 +0000 (04:29 -0400)]
Merge branch 'master' of gitorious.org:intercal/intercal

16 years agoFix bugs in INTERCAL character set table markup.
Eric S. Raymond [Fri, 3 Sep 2010 08:26:04 +0000 (04:26 -0400)]
Fix bugs in INTERCAL character set table markup.

16 years agoMerge branch 'master' of git://gitorious.org/intercal/intercal
Alex Smith [Fri, 3 Sep 2010 07:18:47 +0000 (08:18 +0100)]
Merge branch 'master' of git://gitorious.org/intercal/intercal

Conflicts:
README
doc/ick.1

16 years agoMake coopt.sh clean up after itself
Alex Smith [Fri, 3 Sep 2010 02:21:25 +0000 (03:21 +0100)]
Make coopt.sh clean up after itself

16 years agoDocument interfunge and its testsuite; use an actual Befunge testsuite rather than...
Alex Smith [Fri, 3 Sep 2010 01:37:31 +0000 (02:37 +0100)]
Document interfunge and its testsuite; use an actual Befunge testsuite rather than a Hello World

This now uses the (BSD-licensed and credited in a .doc file) Mycology test
suite by Matti Niemenmaa in order to test interfunge.i (and indirectly the
C-INTERCAL compiler itself), rather than the Hello World program that was
used as a test beforehand.

16 years agoGet -F working again, add a regression test for it
Alex Smith [Fri, 3 Sep 2010 01:08:31 +0000 (02:08 +0100)]
Get -F working again, add a regression test for it

-F tends to break particularly often (it was broken by accident due to
changes to autoconf and to perpet.c); hopefully the regression test
(using beer.i) will catch problems with -F in future.

16 years agoUpdate news, readme, manpage
Alex Smith [Fri, 3 Sep 2010 00:10:44 +0000 (01:10 +0100)]
Update news, readme, manpage

16 years agoMove config header templates to buildaux rather than src
Alex Smith [Thu, 2 Sep 2010 23:50:42 +0000 (00:50 +0100)]
Move config header templates to buildaux rather than src

16 years agoAdd chipspec.txt back to the repository
Alex Smith [Thu, 2 Sep 2010 23:31:30 +0000 (00:31 +0100)]
Add chipspec.txt back to the repository

There's no obvious reason why it was removed; it seems to have been
deleted by mistake around C-INTERCAL 0.28. Also add it back to the
distribution tarball.

16 years agoAdd new files to the list of files in the README
Alex Smith [Thu, 2 Sep 2010 23:10:28 +0000 (00:10 +0100)]
Add new files to the list of files in the README

16 years agoOptimiser bugfixes: negation corner cases
Alex Smith [Thu, 2 Sep 2010 23:07:10 +0000 (00:07 +0100)]
Optimiser bugfixes: negation corner cases

16 years agoOptimiser bugfix: handle width for C negation the same way as for INTERCAL unaries
Alex Smith [Thu, 2 Sep 2010 22:57:43 +0000 (23:57 +0100)]
Optimiser bugfix: handle width for C negation the same way as for INTERCAL unaries

16 years agoIntegrate fuzzer with build system ("make fuzz", "make test")
Alex Smith [Thu, 2 Sep 2010 22:56:57 +0000 (23:56 +0100)]
Integrate fuzzer with build system ("make fuzz", "make test")

16 years agoOptimiser bugfix: distribhalf was mathematically incorrect
Alex Smith [Thu, 2 Sep 2010 22:35:51 +0000 (23:35 +0100)]
Optimiser bugfix: distribhalf was mathematically incorrect

16 years agoOptimiser bugfix: loss of precision in bitshifts
Alex Smith [Thu, 2 Sep 2010 22:35:24 +0000 (23:35 +0100)]
Optimiser bugfix: loss of precision in bitshifts

16 years agoOptimiser bugfixes: some idioms didn't match the comments next to them
Alex Smith [Thu, 2 Sep 2010 22:34:53 +0000 (23:34 +0100)]
Optimiser bugfixes: some idioms didn't match the comments next to them

16 years agoOptimiser bugfix: be consistent about unary operator bitwidths
Alex Smith [Thu, 2 Sep 2010 22:33:49 +0000 (23:33 +0100)]
Optimiser bugfix: be consistent about unary operator bitwidths

16 years agoShow unary bitwidths in optimiser debug output
Alex Smith [Thu, 2 Sep 2010 22:33:15 +0000 (23:33 +0100)]
Show unary bitwidths in optimiser debug output

16 years agoFix type mismatch between oil.h, dekludge.c
Alex Smith [Thu, 2 Sep 2010 20:24:47 +0000 (21:24 +0100)]
Fix type mismatch between oil.h, dekludge.c

Wow was this one subtle. "bool" was somehow defined as 8-bit in
dekludge.c, but 32-bit in oil.h, due to include files being included
differently, and this was causing boolean-valued checks to fail
silently.

16 years agoFix optimiser bug: select with LHS a constant with more than 16 consecutive zeros
Alex Smith [Thu, 2 Sep 2010 19:53:21 +0000 (20:53 +0100)]
Fix optimiser bug: select with LHS a constant with more than 16 consecutive zeros

16 years agoFix bugs in file-finding logic
Alex Smith [Thu, 2 Sep 2010 19:52:26 +0000 (20:52 +0100)]
Fix bugs in file-finding logic

This is both a logic error (an incomplete change from ICKDATADIR to
ICKSYSDIR/ICKCSKELDIR), and a simple typo that was preventing the
skeleton file from being found in an installed setup.

16 years agoTurn on Automake warnings, and fix bugs found by them
Alex Smith [Thu, 2 Sep 2010 19:51:45 +0000 (20:51 +0100)]
Turn on Automake warnings, and fix bugs found by them

16 years agoSplit the top.gitignore apart, we might be able to generate one for the pit
Eric S. Raymond [Thu, 2 Sep 2010 19:45:16 +0000 (15:45 -0400)]
Split the top.gitignore apart, we might be able to generate one for the pit

16 years agoLooks like scp status return isn't reliable.
Eric S. Raymond [Thu, 2 Sep 2010 19:39:46 +0000 (15:39 -0400)]
Looks like scp status return isn't reliable.

16 years agoRestyle the iperl page.
Eric S. Raymond [Thu, 2 Sep 2010 19:36:49 +0000 (15:36 -0400)]
Restyle the iperl page.

16 years agoWeb page update.
Eric S. Raymond [Thu, 2 Sep 2010 19:28:57 +0000 (15:28 -0400)]
Web page update.

16 years agoFree the templating for the web page from autoconf, for flexibility.
Eric S. Raymond [Thu, 2 Sep 2010 19:08:11 +0000 (15:08 -0400)]
Free the templating for the web page from autoconf, for flexibility.

16 years agoBoolean fixes + autoconfiscation of booleans
Alex Smith [Thu, 2 Sep 2010 18:39:31 +0000 (19:39 +0100)]
Boolean fixes + autoconfiscation of booleans

Cleaning up ick_bool.h to work even on systems with an insane
stdbool.h; fixing oil.y to use the new booleans throughout;
integrating ick_bool.h into the autoconf system.

16 years agoMake "make splint" work with out-of-tree builds
Alex Smith [Thu, 2 Sep 2010 18:22:14 +0000 (19:22 +0100)]
Make "make splint" work with out-of-tree builds

16 years agoMake the current package version available for a web page template.
Eric S. Raymond [Thu, 2 Sep 2010 12:22:24 +0000 (08:22 -0400)]
Make the current package version available for a web page template.

16 years agoThe documentation section of the website is now fully updated.
Eric S. Raymond [Thu, 2 Sep 2010 09:28:36 +0000 (05:28 -0400)]
The documentation section of the website is now fully updated.

16 years agoDuplicate older rendering with a double line after the table header.
Eric S. Raymond [Thu, 2 Sep 2010 09:13:29 +0000 (05:13 -0400)]
Duplicate older rendering with a double line after the table header.

16 years agoGive up attempting to center the character table headers, for some unknown
Eric S. Raymond [Thu, 2 Sep 2010 09:06:14 +0000 (05:06 -0400)]
Give up attempting to center the character table headers, for some unknown
reason this desperately confuses groff.

16 years agoRestore sme strings that are used for doing the nroff/troff thing right.
Eric S. Raymond [Thu, 2 Sep 2010 08:54:43 +0000 (04:54 -0400)]
Restore sme strings that are used for doing the nroff/troff thing right.

16 years agoFor consistency, use \( entities everywhere.
Eric S. Raymond [Thu, 2 Sep 2010 08:31:59 +0000 (04:31 -0400)]
For consistency, use \( entities everywhere.

16 years agoCorrect some currency symbols.
Eric S. Raymond [Thu, 2 Sep 2010 08:29:23 +0000 (04:29 -0400)]
Correct some currency symbols.

16 years agoFix some broken entity references that groff faiuled to complain about before.
Eric S. Raymond [Thu, 2 Sep 2010 08:21:53 +0000 (04:21 -0400)]
Fix some broken entity references that groff faiuled to complain about before.

16 years agoRemove a font size change that for some reasoin totally hoses modern groff.
Eric S. Raymond [Thu, 2 Sep 2010 07:54:50 +0000 (03:54 -0400)]
Remove a font size change that for some reasoin totally hoses modern groff.

16 years agoRemove a construct in the groff markuup that is pretty mucvch doomed to break.
Eric S. Raymond [Thu, 2 Sep 2010 07:43:20 +0000 (03:43 -0400)]
Remove a construct in the groff markuup that is pretty mucvch doomed to break.

16 years ago*All* the groff invocations need the -U option...
Eric S. Raymond [Thu, 2 Sep 2010 07:31:04 +0000 (03:31 -0400)]
*All* the groff invocations need the -U option...

16 years agogroff now requires the -U (unsafe) option to generate mm rferences.
Eric S. Raymond [Thu, 2 Sep 2010 07:15:51 +0000 (03:15 -0400)]
groff now requires the -U (unsafe) option to generate mm rferences.

16 years agoTrack the recent change in environment variables.
Eric S. Raymond [Thu, 2 Sep 2010 06:42:30 +0000 (02:42 -0400)]
Track the recent change in environment variables.

16 years agoMake the Revamped Manual available on the web page.
Eric S. Raymond [Thu, 2 Sep 2010 06:38:18 +0000 (02:38 -0400)]
Make the Revamped Manual available on the web page.

16 years agoCorrect an unfortunate makefile glitch.
Eric S. Raymond [Thu, 2 Sep 2010 06:26:55 +0000 (02:26 -0400)]
Correct an unfortunate makefile glitch.

16 years agoReatrrange the documentation READ.ME for clarity.
Eric S. Raymond [Thu, 2 Sep 2010 06:13:27 +0000 (02:13 -0400)]
Reatrrange the documentation READ.ME for clarity.

16 years agoMinor documentation and website fixes.
Eric S. Raymond [Thu, 2 Sep 2010 06:00:32 +0000 (02:00 -0400)]
Minor documentation and website fixes.

16 years agoUpdated the compiler theory document and moved it to asciidoc.
Eric S. Raymond [Thu, 2 Sep 2010 05:34:06 +0000 (01:34 -0400)]
Updated the compiler theory document and moved it to asciidoc.

16 years agoImproved website content and machinery for updating it.
Eric S. Raymond [Thu, 2 Sep 2010 04:56:55 +0000 (00:56 -0400)]
Improved website content and machinery for updating it.

16 years agoOnly ignore sourcefilws in the toop-level directory.
Eric S. Raymond [Thu, 2 Sep 2010 04:21:58 +0000 (00:21 -0400)]
Only ignore sourcefilws in the toop-level directory.

16 years agoIgnore build-system stuff.
Eric S. Raymond [Thu, 2 Sep 2010 04:18:17 +0000 (00:18 -0400)]
Ignore build-system stuff.

16 years agoMore asciidoc lifting.
Eric S. Raymond [Thu, 2 Sep 2010 03:49:49 +0000 (23:49 -0400)]
More asciidoc lifting.

16 years agoMove README to asciidoc markup to make it easier to generate a web page from it.
Eric S. Raymond [Thu, 2 Sep 2010 03:29:07 +0000 (23:29 -0400)]
Move README to asciidoc markup to make it easier to generate a web page from it.

16 years agoThis should have gone with the last commit.
Eric S. Raymond [Thu, 2 Sep 2010 00:37:27 +0000 (20:37 -0400)]
This should have gone with the last commit.

16 years agoUse real bools everywhere.
Eric S. Raymond [Wed, 1 Sep 2010 22:34:24 +0000 (18:34 -0400)]
Use real bools everywhere.

It's possible to emulate the C99 bool type perfectly and autoconfigure
doing so.  This enables splint to do better checking, and looks cleaner too.

make check and make distcheck both pass.

16 years agoRemove generated files from the repository, change build system to match
Alex Smith [Wed, 1 Sep 2010 20:27:34 +0000 (21:27 +0100)]
Remove generated files from the repository, change build system to match

A new shell script buildaux/regenerate-build-system.sh will regenerate
the build system from scratch, which is needed to run a repository
version. (The contents of distribution tarballs are unchanged.) Many
build system changes are needed to make everything work correctly,
including the integration of the pit and src makefiles (the pit
makefile needs to know where the pit actually /is/); make distcheck
now passes.

16 years agoSlight optimiser cleanup
Alex Smith [Wed, 1 Sep 2010 20:05:36 +0000 (21:05 +0100)]
Slight optimiser cleanup

16 years agoDon't crash on an invalid guessdir
Alex Smith [Wed, 1 Sep 2010 20:05:00 +0000 (21:05 +0100)]
Don't crash on an invalid guessdir

16 years agoRemove valid code from the middle of a comment
Alex Smith [Wed, 1 Sep 2010 20:04:35 +0000 (21:04 +0100)]
Remove valid code from the middle of a comment

16 years agoMerge branch 'master' of git://gitorious.org/intercal/intercal
Alex Smith [Wed, 1 Sep 2010 18:48:53 +0000 (19:48 +0100)]
Merge branch 'master' of git://gitorious.org/intercal/intercal

16 years agoBoost SENESTMAX; fuzz-testing was hitting the limit
Alex Smith [Wed, 1 Sep 2010 18:48:34 +0000 (19:48 +0100)]
Boost SENESTMAX; fuzz-testing was hitting the limit

16 years agoAdd test/compucome.i to the compile-test set.
Eric S. Raymond [Wed, 1 Sep 2010 09:20:48 +0000 (05:20 -0400)]
Add test/compucome.i to the compile-test set.

16 years agoMakefile.in doesn't need to be in the repo.
Eric S. Raymond [Wed, 1 Sep 2010 08:49:14 +0000 (04:49 -0400)]
Makefile.in doesn't need to be in the repo.

16 years agoMake self-tests available from toplevel in the standard way with 'make check'.
Eric S. Raymond [Wed, 1 Sep 2010 08:35:38 +0000 (04:35 -0400)]
Make self-tests available from toplevel in the standard way with 'make check'.

16 years agoFix the clean hook to avoid problems in make distcheck.
Eric S. Raymond [Wed, 1 Sep 2010 08:26:15 +0000 (04:26 -0400)]
Fix the clean hook to avoid problems in make distcheck.

16 years agoRe-merge splint priduction and pit clean hook.
Eric S. Raymond [Tue, 31 Aug 2010 22:42:27 +0000 (18:42 -0400)]
Re-merge splint priduction and pit clean hook.

16 years agoDuhhh...the terst load has a nondeterminism trigger in it.
Eric S. Raymond [Tue, 31 Aug 2010 22:19:54 +0000 (18:19 -0400)]
Duhhh...the terst load has a nondeterminism trigger in it.

16 years agoRevert the buld systrem rewrite, as it won't work for cross-compiles.
Eric S. Raymond [Tue, 31 Aug 2010 21:24:14 +0000 (17:24 -0400)]
Revert the buld systrem rewrite, as it won't work for cross-compiles.

16 years agoPartial splint cleanup.
Eric S. Raymond [Tue, 31 Aug 2010 19:51:45 +0000 (15:51 -0400)]
Partial splint cleanup.

16 years agoAdd a splint production.
Eric S. Raymond [Tue, 31 Aug 2010 18:57:41 +0000 (14:57 -0400)]
Add a splint production.

16 years agoFix a broken fprintf that was producing unstable output.
Eric S. Raymond [Tue, 31 Aug 2010 18:40:06 +0000 (14:40 -0400)]
Fix a broken fprintf that was producing unstable output.

16 years agoFix incorrectly generated check file.
Eric S. Raymond [Tue, 31 Aug 2010 18:34:49 +0000 (14:34 -0400)]
Fix incorrectly generated check file.

16 years agoForce clean of the pit test binaries on make clean.
Eric S. Raymond [Tue, 31 Aug 2010 18:13:11 +0000 (14:13 -0400)]
Force clean of the pit test binaries on make clean.

16 years agoClean up annd document Makefile.am.
Eric S. Raymond [Tue, 31 Aug 2010 17:50:08 +0000 (13:50 -0400)]
Clean up annd document Makefile.am.

16 years agoMore build system cleanup; the prebuilt filea don'yt need to be in the repo.
Eric S. Raymond [Tue, 31 Aug 2010 17:00:15 +0000 (13:00 -0400)]
More build system cleanup; the prebuilt filea don'yt need to be in the repo.

16 years agoCleanup after the big build change.
Eric S. Raymond [Tue, 31 Aug 2010 16:41:46 +0000 (12:41 -0400)]
Cleanup after the big build change.

16 years agoIgnore generated files (again).
Eric S. Raymond [Tue, 31 Aug 2010 16:35:48 +0000 (12:35 -0400)]
Ignore generated files (again).

16 years agoMerge branch 'master' of gitorious.org:intercal/intercal
Eric S. Raymond [Tue, 31 Aug 2010 09:56:25 +0000 (05:56 -0400)]
Merge branch 'master' of gitorious.org:intercal/intercal