Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #5740

Re: The Lisp Curse

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: The Lisp Curse
References (16 earlier) <14d1e29c-5e8d-49bb-ace8-ed97b5bcde52@o9g2000vbo.googlegroups.com> <j4cu4c$usj$1@speranza.aioe.org> <3319242c-3397-4e6b-896f-00d6d68433fc@s20g2000yql.googlegroups.com> <j4kmql$pv4$1@speranza.aioe.org> <62376506-5149-4653-892f-f7647a19ab18@b10g2000vbz.googlegroups.com>
Date 2011-09-14 00:47 -0700
Message-ID <7xlitry395.fsf@ruckus.brouhaha.com> (permalink)
Organization Nightsong/Fort GNOX

Show all headers | View raw


John Passaniti <john.passaniti@gmail.com> writes:
> { sum += $1 }
> END { print sum }
> ...
> the complete C program that is functionally equivalent to the above
> AWK program.  Please make it a complete program, just as the AWK
> program above is complete, so include stdio.h and write a main with
> the proper prototype and return value to the OS. 

Not that great an example really: the C (if written straightforwardly)
and Awk versions will both suffer from eventual numeric overflow.
Better to use a language with built-in arbitrary precision arithmetic
or a convenient gmp/mpfr wrapper.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: The Lisp Curse arc <arc@vorsicht-bissig.delete-me.de> - 2011-08-24 11:12 +0000
  Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-08-24 17:12 -0400
    Re: The Lisp Curse arc <arc.deletethis@vorsicht-bissig.de> - 2011-09-01 00:18 +1200
      Re: The Lisp Curse Fritz Wuehler <fritz@spamexpire-201109.rodent.frell.theremailer.net> - 2011-09-01 12:11 +0200
        Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-01 19:51 -0400
          Re: The Lisp Curse Fritz Wuehler <fritz@spamexpire-201109.rodent.frell.theremailer.net> - 2011-09-07 02:39 +0200
            Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:36 -0400
      Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-01 19:42 -0400
        Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-02 04:58 -0700
          Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-02 22:08 -0400
            Re: The Lisp Curse "Elizabeth D. Rather" <erather@forth.com> - 2011-09-02 18:23 -1000
            Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-03 01:14 -0700
            Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-03 03:31 -0700
              Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-04 06:58 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-04 09:30 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-05 20:25 -0400
                Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-06 00:52 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:37 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-09 05:02 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 08:48 -0400
                Re: The Lisp Curse coos haak <chforth@hccnet.nl> - 2011-09-09 20:36 +0200
                Re: The Lisp Curse George Hubert <georgeahubert@yahoo.co.uk> - 2011-09-09 13:09 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:17 -0400
                Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-14 01:15 -0700
                Re: The Lisp Curse stephenXXX@mpeforth.com (Stephen Pelc) - 2011-09-06 07:50 +0000
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-06 05:22 -0700
                Re: The Lisp Curse stephenXXX@mpeforth.com (Stephen Pelc) - 2011-09-06 13:28 +0000
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-06 07:18 -0700
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-06 05:58 -0700
                Re: The Lisp Curse Keith H Duggar <duggar@alum.mit.edu> - 2011-09-06 07:37 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 08:50 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-09 07:05 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:40 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-12 04:36 -0700
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-12 05:01 -0700
                Re: The Lisp Curse coos haak <chforth@hccnet.nl> - 2011-09-15 21:05 +0200
        Re: The Lisp Curse stephenXXX@mpeforth.com (Stephen Pelc) - 2011-09-02 12:58 +0000
          Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-02 22:10 -0400
            Re: The Lisp Curse stephenXXX@mpeforth.com (Stephen Pelc) - 2011-09-03 08:55 +0000
              Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-04 06:41 -0400
            Re: The Lisp Curse David Thompson <dave.thompson2@verizon.net> - 2011-09-09 01:28 -0400
              Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:37 -0400
        Re: The Lisp Curse arc <arc.deletethis@vorsicht-bissig.de> - 2011-09-05 01:27 +1200
          Re: The Lisp Curse BruceMcF <agila61@netscape.net> - 2011-09-04 14:25 -0700
          Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-05 20:23 -0400
            Re: The Lisp Curse "Elizabeth D. Rather" <erather@forth.com> - 2011-09-05 16:09 -1000
              Re: The Lisp Curse Hugh Aguilar <hughaguilar96@yahoo.com> - 2011-09-05 23:00 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:47 -0400
                Re: The Lisp Curse Hugh Aguilar <hughaguilar96@yahoo.com> - 2011-09-10 18:38 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:38 -0400
              Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:39 -0400
                Re: The Lisp Curse "Elizabeth D. Rather" <erather@forth.com> - 2011-09-09 08:32 -1000
                Re: The Lisp Curse Richard Owlett <rowlett@pcnetinc.com> - 2011-09-09 15:24 -0500
            Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-06 00:48 -0700
              Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-06 03:25 -0500
              Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-08 05:59 -0700
                Re: The Lisp Curse anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2011-09-08 13:27 +0000
                Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-08 09:15 -0500
                Re: The Lisp Curse anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2011-09-08 14:24 +0000
                Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-08 10:11 -0500
                Re: The Lisp Curse anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2011-09-08 15:46 +0000
                Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-08 11:45 -0500
                Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-08 10:31 -0700
                Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-08 12:47 -0500
                Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-14 01:40 -0700
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-08 13:51 -0700
                Re: The Lisp Curse Keith H Duggar <duggar@alum.mit.edu> - 2011-09-09 10:18 -0700
                Re: The Lisp Curse mhx@iae.nl (Marcel Hendrix) - 2011-09-09 21:03 +0200
                Re: The Lisp Curse Keith H Duggar <duggar@alum.mit.edu> - 2011-09-09 12:35 -0700
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-09 13:38 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:36 -0400
                Re: The Lisp Curse Keith H Duggar <duggar@alum.mit.edu> - 2011-09-12 06:43 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:38 -0400
                Re: The Lisp Curse Keith H Duggar <duggar@alum.mit.edu> - 2011-09-09 10:30 -0700
                Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-10 03:45 -0500
                Re: The Lisp Curse Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-09-10 08:23 +0000
                Re: The Lisp Curse vandys@vsta.org - 2011-09-08 16:09 +0000
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-08 13:38 -0700
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-08 20:04 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:45 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-09 05:34 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 09:49 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-09 09:43 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:35 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-12 03:57 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:38 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-19 07:29 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-21 18:46 -0400
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-11 19:58 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:30 -0400
                Re: The Lisp Curse "Elizabeth D. Rather" <erather@forth.com> - 2011-09-12 08:53 -1000
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:38 -0400
                Re: The Lisp Curse stephenXXX@mpeforth.com (Stephen Pelc) - 2011-09-19 13:57 +0000
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:43 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-09 04:57 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 08:51 -0400
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-11 17:40 -0700
                Re: The Lisp Curse Hugh Aguilar <hughaguilar96@yahoo.com> - 2011-09-11 22:03 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:45 -0400
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-13 22:46 -0700
                Re: The Lisp Curse Brad <hwfwguy@gmail.com> - 2011-09-14 09:56 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-12 06:27 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-12 03:38 -0700
                Re: The Lisp Curse Hugh Aguilar <hughaguilar96@yahoo.com> - 2011-09-12 21:57 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:41 -0400
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-13 21:32 -0700
                Re: The Lisp Curse Hugh Aguilar <hughaguilar96@yahoo.com> - 2011-09-13 22:30 -0700
                Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-14 00:47 -0700
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-14 13:53 -0700
                Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-15 00:37 -0700
                Re: The Lisp Curse John Passaniti <john.passaniti@gmail.com> - 2011-09-15 08:01 -0700
                Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-15 10:40 -0500
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:52 -0400
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:53 -0400
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:46 -0400
                Re: The Lisp Curse Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2011-09-12 20:49 +0100
              Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-09 07:46 -0400
                Re: The Lisp Curse Paul Rubin <no.email@nospam.invalid> - 2011-09-14 02:10 -0700
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-14 05:38 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:39 -0400
                Re: The Lisp Curse Hugh Aguilar <hughaguilar96@yahoo.com> - 2011-09-14 18:50 -0700
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-15 03:44 -0700
                Re: The Lisp Curse Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-09-15 06:12 -0500
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-15 09:49 -0700
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-16 02:20 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:54 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-19 14:32 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-21 18:28 -0400
                Re: The Lisp Curse Alex McDonald <blog@rivadpm.com> - 2011-09-15 03:50 -0700
                Re: The Lisp Curse stephenXXX@mpeforth.com (Stephen Pelc) - 2011-09-15 12:58 +0000
                Re: The Lisp Curse "Elizabeth D. Rather" <erather@forth.com> - 2011-09-15 09:16 -1000
                Re: The Lisp Curse Hugh Aguilar <hughaguilar96@yahoo.com> - 2011-09-15 22:36 -0700
                Re: The Lisp Curse "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-09-19 09:54 -0400
          Re: The Lisp Curse Brad <hwfwguy@gmail.com> - 2011-09-06 09:17 -0700

csiph-web