]> thyrsus.com Git - intercal.git/commitdiff
unarymesh
authorAlex Smith <ais523@bham.ac.uk>
Wed, 7 May 2008 00:20:30 +0000 (20:20 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 00:34:53 +0000 (20:34 -0400)
MANIFEST.txt
NEWS.txt
src/parser.y

index 0ce5227bc5d72231ff1db6860d8529d88ac4809b..d6203d8cea989dbd58dbca71caa8203a23a19f5a 100644 (file)
-.:
-bin
-BUGS.txt
-cleanick.bat
-cleanick.sh
-configdj.sh
-config.in
-config.sh
-COPYING.txt
-districk.bat
-districk.sh
-doc
-etc
-ickspec
-ickspec.in
-include
-lib
-Makefile.in
-makeick.bat
-makeick.sh
-MANIFEST.txt
-NEWS.txt
-pit
-README.txt
-src
-temp
-
-./bin:
-
-./doc:
-convickt.1
-fdl-1-2.txi
-fix83.pl
-fixtoc.pl
-ick.1
-ick.inf
-ick.info-1
-ick.info-2
-ickstyle.css
-ick.txi
-ick.txt
-intercal.mm
-Makefile
-READ.ME
-THEORY.txt
-tidy.cfg
-
-./etc:
-ctrlmfix.bat
-ctrlmfix.sh
-intercal.el
-
-./include:
-
-./lib:
-
-./pit:
-beer.doc
-beer.i
-blinkers
-bubble.doc
-bubble.i
-CATALOG
-change.doc
-change.i
-continuation.doc
-continuation.i
-delta.fft
-explib
-fft.doc
-fft.i
-flonck.doc
-flonck.i
-glider
-gun
-hail_mary.3i
-hail_mary.doc
-icat.i
-iching1.i
-iching2.i
-iching.doc
-ins.doc
-ins.i
-interfunge.i
-lib
-life2.doc
-life2.i
-life.doc
-life.i
-Makefile
-pass.i
-pi.doc
-pi.i
-pow.i
-primes.doc
-primes.i
-quine.i
-random2.i
-random.doc
-random.i
-rot13b.doc
-rot13b.i
-rot13.doc
-rot13.i
-sample.i
-sort.i
-syslib.i
-tests
-tophat.fft
-tpk.doc
-tpk.i
-t_tet
-unlambda.doc
-unlambda.i
-yapp.doc
-yapp.i
-
-./pit/explib:
-compunex.c
-syslibc.c
-syslibc.doc
-
-./pit/lib:
-1910.doc
-floatlib.doc
-floatlib.i
-lib2.doc
-lib2.i
-numio.doc
-numio.i
-plus.i
-syslib3-7.doc
-syslib.3i
-syslib.4i
-syslib.5i
-syslib.6i
-syslib.7i
-syslib.doc
-syslib.i
-syslib-orig.i
-
-./pit/tests:
-ais1.i
-ais2.i
-arrtest.doc
-arrtest.i
-compucome.i
-count.3i
-count.doc
-hello.i
-ignorret.doc
-ignorret.i
-iogerunds.doc
-iogerunds.i
-knuth.i
-limits.3i
-limits.i
-normaldist.i
-onceagain.i
-permute.doc
-permute.i
-pictest.i
-sink.doc
-sink.i
-test16bit.i
-test1.i
-test2.i
-testarray.i
-testcf.i
-testcreate.i
-testi18n.i
-testlib2.i
-testonce.i
-testops.3i
-testops.5i
-testsplat.i
-version.4i
-version.doc
-whileadd.i
-
-./src:
-abcess.h
-arrgghh.c
-atari.bin
-baudot.bin
-bin2c.c
-cesspool.c
-clc-cset.c
-configdj.h
-configh.in
-convickt.c
-cooptsh.in
-dekludge.c
-ebcdic.bin
-feh2.c
-feh.h
-fiddle.c
-fiddle.h
-ick_ec.c
-ick_ec.h
-ick.h
-ick_lose.c
-ick_lose.h
-ick-wrap.c
-idiotism.oil
-latin1.bin
-lexer.l
-numerals.c
-oil.h
-oil.y
-parser.y
-perpet.c
-pick1.h
-pick2.h
-pickwrap.c
-sizes.h
-uncommon.c
-uncommon.h
-unravel.c
-yuk.c
-yuk.h
-
-./temp:
-lexer.c
-oil.c
-parser.c
+./doc/fdl-1-2.txi
+./doc/fix83.pl
+./doc/fixtoc.pl
+./doc/ick.txi
+./doc/intercal.mm
+./doc/tidy.cfg
+./doc/Makefile
+./doc/READ.ME
+./doc/THEORY.txt
+./doc/convickt.1
+./doc/ick.1
+./doc/ickstyle.css
+./doc/ick.inf
+./doc/ick.info-1
+./doc/ick.info-2
+./doc/ick.txt
+./etc/ctrlmfix.bat
+./etc/ctrlmfix.sh
+./etc/intercal.el
+./pit/explib/syslibc.doc
+./pit/explib/compunex.c
+./pit/explib/syslibc.c
+./pit/lib/floatlib.doc
+./pit/lib/1910.doc
+./pit/lib/floatlib.i
+./pit/lib/lib2.doc
+./pit/lib/lib2.i
+./pit/lib/numio.doc
+./pit/lib/numio.i
+./pit/lib/plus.i
+./pit/lib/syslib.3i
+./pit/lib/syslib-orig.i
+./pit/lib/syslib.4i
+./pit/lib/syslib.5i
+./pit/lib/syslib.6i
+./pit/lib/syslib.7i
+./pit/lib/syslib.doc
+./pit/lib/syslib.i
+./pit/lib/syslib3-7.doc
+./pit/tests/count.3i
+./pit/tests/ais1.i
+./pit/tests/ais2.i
+./pit/tests/arrtest.doc
+./pit/tests/arrtest.i
+./pit/tests/compucome.i
+./pit/tests/count.doc
+./pit/tests/hello.i
+./pit/tests/ignorret.doc
+./pit/tests/ignorret.i
+./pit/tests/iogerunds.doc
+./pit/tests/iogerunds.i
+./pit/tests/knuth.i
+./pit/tests/limits.3i
+./pit/tests/limits.i
+./pit/tests/normaldist.i
+./pit/tests/onceagain.i
+./pit/tests/permute.doc
+./pit/tests/permute.i
+./pit/tests/pictest.i
+./pit/tests/sink.doc
+./pit/tests/sink.i
+./pit/tests/test1.i
+./pit/tests/test16bit.i
+./pit/tests/test2.i
+./pit/tests/testarray.i
+./pit/tests/testcf.i
+./pit/tests/testcreate.i
+./pit/tests/testi18n.i
+./pit/tests/testlib2.i
+./pit/tests/testonce.i
+./pit/tests/testops.3i
+./pit/tests/testops.5i
+./pit/tests/testsplat.i
+./pit/tests/version.4i
+./pit/tests/version.doc
+./pit/tests/whileadd.i
+./pit/hail_mary.3i
+./pit/CATALOG
+./pit/Makefile
+./pit/beer.doc
+./pit/beer.i
+./pit/blinkers
+./pit/bubble.doc
+./pit/bubble.i
+./pit/change.doc
+./pit/change.i
+./pit/delta.fft
+./pit/continuation.doc
+./pit/continuation.i
+./pit/fft.doc
+./pit/fft.i
+./pit/flonck.doc
+./pit/flonck.i
+./pit/glider
+./pit/gun
+./pit/hail_mary.doc
+./pit/icat.i
+./pit/iching.doc
+./pit/iching1.i
+./pit/iching2.i
+./pit/ins.doc
+./pit/ins.i
+./pit/interfunge.i
+./pit/life.doc
+./pit/life.i
+./pit/life2.doc
+./pit/life2.i
+./pit/pass.i
+./pit/pi.doc
+./pit/pi.i
+./pit/pow.i
+./pit/primes.doc
+./pit/primes.i
+./pit/quine.i
+./pit/random.doc
+./pit/random.i
+./pit/random2.i
+./pit/rot13.doc
+./pit/rot13.i
+./pit/rot13b.doc
+./pit/rot13b.i
+./pit/sample.i
+./pit/sort.i
+./pit/syslib.i
+./pit/t_tet
+./pit/tophat.fft
+./pit/tpk.doc
+./pit/tpk.i
+./pit/unlambda.doc
+./pit/unlambda.i
+./pit/yapp.doc
+./pit/yapp.i
+./src/autoscan.log
+./src/abcess.h
+./src/arrgghh.c
+./src/atari.bin
+./src/idiotism.oil
+./src/baudot.bin
+./src/bin2c.c
+./src/cesspool.c
+./src/clc-cset.c
+./src/configdj.h
+./src/configh.in
+./src/convickt.c
+./src/cooptsh.in
+./src/dekludge.c
+./src/ebcdic.bin
+./src/feh.h
+./src/feh2.c
+./src/fiddle.c
+./src/fiddle.h
+./src/ick-wrap.c
+./src/ick.h
+./src/ick_ec.c
+./src/ick_ec.h
+./src/ick_lose.c
+./src/ick_lose.h
+./src/latin1.bin
+./src/lexer.l
+./src/numerals.c
+./src/oil.h
+./src/oil.y
+./src/parser.y
+./src/perpet.c
+./src/pick1.h
+./src/pick2.h
+./src/pickwrap.c
+./src/sizes.h
+./src/uncommon.c
+./src/uncommon.h
+./src/unravel.c
+./src/yuk.c
+./src/yuk.h
+./COPYING.txt
+./BUGS.txt
+./MANIFEST.txt
+./NEWS.txt
+./README.txt
+./cleanick.bat
+./cleanick.sh
+./districk.bat
+./districk.sh
+./makeick.bat
+./makeick.sh
+./Makefile.in
+./temp/lexer.c
+./temp/oil.c
+./temp/parser.c
+./temp/parser.h
+./config.ac
+./config.sh
index 768b73e0a970839aa4fcedf87ce0f3b86b0a4774..021e3dd8b17be860616c3f52a61a7e77fd544ed8 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -47,23 +47,26 @@ Changes by Joris Huizer
     situations where the redundant XOR operands are on different grouping
     levels; this helps to optimise some heavily inlined greater-than tests.
 
+9.  Fixed unary operators applied to constants (AIS: it seems that my patch to
+    solve this issue earlier was itself buggy).
+
 Changes by Alex Smith
 
-9.  convickt can now produce its output as INTERCAL initialisation of a tail
+10. convickt can now produce its output as INTERCAL initialisation of a tail
     array. (This doesn't auto-offset between the different characters; it is
     therefore mostly useful for producing Baudot arrays for CLC-INTERCAL-style
     IO.)
 
-10. The function clock_gettime is now supported by the yuk profiler as an
+11. The function clock_gettime is now supported by the yuk profiler as an
     alternative method of getting a high-resolution clock for profiling (it
     is available on at least Linux).
 
-11. Upgraded the autoconfiguration to a substantially newer version of
+12. Upgraded the autoconfiguration to a substantially newer version of
     autoconf. Hopefully the same script works on all operating systems now,
     because I've removed the one that configures for DOS (which was previously
     separate).
 
-12. Added support for computed CREATE (the computation is done at create-time,
+13. Added support for computed CREATE (the computation is done at create-time,
     rather than when the unknown statement is encountered); partly because
     this was rather easy, but mostly because it can be used to simulate a
     computed NEXT, thus making the example expansion library compunex (which I
@@ -75,10 +78,10 @@ Changes by Alex Smith
     features of NEXT, anyway, rather than the small subset COMPUNEX could
     manage.)
 
-13. Plugged a couple of small memory leaks; however, there are still several
+14. Plugged a couple of small memory leaks; however, there are still several
     much bigger memory leaks that could do with being fixed.
 
-14. About the version number: this release is mostly bugfixing, but does add a
+15. About the version number: this release is mostly bugfixing, but does add a
     few new features, so I wasn't sure whether to increment the major or the
     minor version number. In the end, I used the old INTERCAL maxim 'when in
     doubt, do both'.
index 540cb3ff525413026f039635d3add359a5aee667..0962d9534fcf27f64867e4842db671d2f8241cd7 100644 (file)
@@ -560,10 +560,10 @@ lunambig:   constant      {$$ = $1;}
                      /* enforce the 16-bit constant constraint */
                      if ((unsigned int)$3 > ick_Max_small)
                        ick_lose(IE017, iyylineno, (char *)NULL);
-                     if(variableconstants) /* AIS */
-                       $$->rval->constant = intern(MESH, $2);
+                     if(variableconstants) /* AIS, patched by JH */
+                       $$->rval->constant = intern(MESH, $3);
                      else
-                       $$->rval->constant = $2;
+                       $$->rval->constant = $3;
                    }
                    else {
                      $$->rval->constant = intern($1, $3);