Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #22631
| From | "Rod Pemberton" <do_not_have@notemailnotq.cpm> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: offtopic - Critical of the Computer Industry |
| Date | 2013-05-15 05:24 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <kmvk18$5vb$1@speranza.aioe.org> (permalink) |
| References | <acaaee13-82e0-4ef7-9f35-8e9d343dfb8a@googlegroups.com><201dbf4c-6c81-46e0-b388-67526164b526@googlegroups.com><km3qj9$hg5$1@dont-email.me><3ce8fa7c-dad6-40b4-85d3-c4a12c4d972e@kq11g2000pbb.googlegroups.com><km6ho1$9c1$1@dont-email.me> <km6n1d$crj$1@speranza.aioe.org><33d51745-defc-4d50-8a0a-08f653acbe85@h9g2000pbr.googlegroups.com><kmc0g3$7qj$1@speranza.aioe.org> <7xobcmcew7.fsf@ruckus.brouhaha.com><kmhdr9$sgh$1@speranza.aioe.org> <7xbo8hk5vn.fsf@ruckus.brouhaha.com> |
"Paul Rubin" <no.email@nospam.invalid> wrote in message news:7xbo8hk5vn.fsf@ruckus.brouhaha.com... > "Rod Pemberton" <do_not_have@notemailnotq.cpm> writes: (Sorry, I thought I sent this out a few days ago.) > > To convert C to Forth, you're going to have to do lots of > > things: implement stack frames in Forth for C procedures, > > convert C's function parameters to 0-operand, and convert > > *ALL* of C's syntax, from simple to convoluted, to equivalent > > Forth, etc. I still think it's a large undertaking. IMO, a C > > subset could be done in reasonable time. > > Eh? C's syntax is already gone by the time one is dealing with > the LLVM retargeting process. The C front end produces a > machine-independent assembler-like intermediate > representation (IR). The back end then translates the IR to the > actual instructions of the target machine. In the case of a > stack machine, these map very directly to Forth words. C to > Forth is comparatively trivial if you're willing to make free > use of locals. Well, they map very directly to stack operations, some of which are also Forth words. But, that subset of Forth is not Forth either... Stack operations are a Forth subset. I.e., if you were converting C to equivalent Forth - not just stack operations which may have Forth definitions - it'd be a larger task. In that case, you couldn't just emit Forth stack operations. You'd need to emit higher level Forth words too, like ALLOC or CONSTANT or PARSE etc. In theory, it's possible to build these back up to higher level Forth words from the stack operations. However, it's generally more convenient to convert directly to high level Forth. Rod Pemberton
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
offtopic - Critical of the Computer Industry Jason Damisch <jasondamisch@yahoo.com> - 2013-05-03 11:17 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-03 16:54 -0400
Re: offtopic - Critical of the Computer Industry Jason Damisch <jasondamisch@yahoo.com> - 2013-05-03 14:30 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-04 16:03 -0400
Re: offtopic - Critical of the Computer Industry visualforth@rocketmail.com - 2013-05-03 23:24 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-04 16:24 -0400
Re: offtopic - Critical of the Computer Industry "visualforth@rocketmail.com" <babruehl@gmail.com> - 2013-05-04 15:01 -0700
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-04 15:50 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-04 13:45 -1000
Re: offtopic - Critical of the Computer Industry babruehl@gmail.com - 2013-05-04 16:55 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-04 15:08 -1000
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-04 21:52 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-05 18:51 -0400
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-05 18:50 -0400
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-05 20:13 -0400
Re: offtopic - Critical of the Computer Industry albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-05-05 09:38 +0000
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-05 17:00 -0400
Re: offtopic - Critical of the Computer Industry "visualforth@rocketmail.com" <babruehl@gmail.com> - 2013-05-04 16:50 -0700
Re: offtopic - Critical of the Computer Industry Mark Wills <markrobertwills@yahoo.co.uk> - 2013-05-05 13:02 -0700
Re: offtopic - Critical of the Computer Industry Coos Haak <chforth@hccnet.nl> - 2013-05-05 23:14 +0200
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-05 13:44 -1000
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-05 21:07 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-05 19:35 -1000
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-05 23:17 -0700
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-05 23:39 -0700
Re: offtopic - Critical of the Computer Industry visualforth@rocketmail.com - 2013-05-06 01:21 -0700
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-05 00:08 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-04 21:58 -1000
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-05 06:56 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-05 18:42 -0400
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-05 17:11 -0400
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-05 18:41 -0400
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-05 15:42 -0700
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-05 20:10 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-07 18:53 -0400
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-07 20:59 -0400
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-07 20:24 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-09 20:16 -0400
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-10 02:14 -0700
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-07 20:46 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-09 20:12 -0400
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-11 06:23 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-11 11:44 -0400
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-11 13:27 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-11 21:05 -0400
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-11 18:27 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-15 05:24 -0400
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-15 10:03 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-15 07:30 -1000
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-15 10:39 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-15 08:15 -1000
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-15 22:56 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-15 21:37 -1000
Re: offtopic - Critical of the Computer Industry anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-05-16 14:01 +0000
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-16 11:47 -1000
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-16 23:19 -0400
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-16 17:38 -1000
Re: offtopic - Critical of the Computer Industry anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-05-17 13:35 +0000
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-17 08:14 -1000
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-05 19:56 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-06 13:34 -0400
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-04 23:50 -0700
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-04 03:48 -0500
Re: offtopic - Critical of the Computer Industry Bernd Paysan <bernd.paysan@gmx.de> - 2013-05-04 19:31 +0200
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-04 11:05 -0700
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-04 13:46 -0500
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-04 16:31 -0400
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-04 15:58 -0500
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-04 17:04 -0400
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-04 17:23 -0500
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-05 10:28 -0400
Re: offtopic - Critical of the Computer Industry Bernd Paysan <bernd.paysan@gmx.de> - 2013-05-05 01:41 +0200
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-05 04:16 -0500
Re: offtopic - Critical of the Computer Industry Mark Wills <markrobertwills@yahoo.co.uk> - 2013-05-05 12:56 -0700
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-06 05:19 -0500
Re: offtopic - Critical of the Computer Industry Mark Wills <forthfreak@gmail.com> - 2013-05-06 04:01 -0700
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-06 09:48 -0500
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-06 11:08 -0400
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-06 17:21 -0500
Re: offtopic - Critical of the Computer Industry Mark Wills <forthfreak@gmail.com> - 2013-05-06 22:58 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-07 21:04 -0400
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-08 03:02 -0500
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-09 20:08 -0400
Re: offtopic - Critical of the Computer Industry Alex McDonald <blog@rivadpm.com> - 2013-05-10 05:03 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-10 11:21 -0400
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-11 15:53 -0400
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-11 21:07 -0400
Re: offtopic - Critical of the Computer Industry Mark Wills <forthfreak@gmail.com> - 2013-05-06 08:29 -0700
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-09 20:08 -0400
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-10 11:39 -0400
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-11 15:56 -0400
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-11 21:14 -0400
Re: offtopic - Critical of the Computer Industry albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-05-12 12:29 +0000
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-12 08:33 -1000
Re: offtopic - Critical of the Computer Industry "Rod Pemberton" <do_not_have@notemailnotq.cpm> - 2013-05-15 05:23 -0400
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-15 07:43 -1000
Re: offtopic - Critical of the Computer Industry Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-05-15 14:11 -0500
Re: offtopic - Critical of the Computer Industry Elizabeth D Rather <erather@forth.com> - 2013-05-15 11:41 -1000
Re: offtopic - Critical of the Computer Industry Brad Eckert <hwfwguy@gmail.com> - 2013-05-16 09:35 -0700
Re: offtopic - Critical of the Computer Industry rickman <gnuarm@gmail.com> - 2013-05-16 13:50 -0400
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-19 19:34 -0700
Re: offtopic - Critical of the Computer Industry visualforth@rocketmail.com - 2013-05-19 23:41 -0700
Re: offtopic - Critical of the Computer Industry dirk.bruehl@usa.net - 2013-05-17 08:53 -0700
Re: offtopic - Critical of the Computer Industry AKE <assadebrahim2000@gmail.com> - 2013-05-05 11:06 -0700
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-05 18:56 -0700
Re: offtopic - Critical of the Computer Industry AKE <assadebrahim2000@gmail.com> - 2013-05-06 03:56 -0700
Re: offtopic - Critical of the Computer Industry visualforth@rocketmail.com - 2013-05-06 00:31 -0700
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-06 00:54 -0700
Re: offtopic - Critical of the Computer Industry "Elizabeth D. Rather" <erather@forth.com> - 2013-05-05 22:06 -1000
Re: offtopic - Critical of the Computer Industry Alex McDonald <blog@rivadpm.com> - 2013-05-05 02:43 -0700
Re: offtopic - Critical of the Computer Industry Paul Rubin <no.email@nospam.invalid> - 2013-05-05 19:06 -0700
Re: offtopic - Critical of the Computer Industry Steve <nospam275@gmail.com> - 2013-05-04 21:55 -0700
Re: offtopic - Critical of the Computer Industry Doug Hoffman <glidedog@gmail.com> - 2013-05-05 07:41 -0400
Re: offtopic - Critical of the Computer Industry Jason Damisch <jasondamisch@yahoo.com> - 2013-05-05 21:02 -0700
csiph-web