Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #8946
| Newsgroups | comp.lang.forth |
|---|---|
| From | Albert van der Horst <albert@spenarnc.xs4all.nl> |
| Subject | Re: Ideas for a portable Forth |
| Date | 2012-01-16 22:42 +0000 |
| Message-ID | <lxwxrl.cje@spenarnc.xs4all.nl> (permalink) |
| Organization | Dutch Forth Workshop |
| References | <e6b66ad7-863c-4aa9-b19b-26d02b47877b@e8g2000yqd.googlegroups.com> |
In article <e6b66ad7-863c-4aa9-b19b-26d02b47877b@e8g2000yqd.googlegroups.com>, Brad <hwfwguy@gmail.com> wrote: >Hi All, > >I was thinking about portable Forths the other day and started >wondering if NASM is a better implementation language than GNU C. NASM >covers a pretty wide range of platforms. If you're going to machine- >generate source code, like Gforth does, why not generate NASM? I went a step further, and support NASM, TASM, MASM, gas and now FASM in my portable Forths for the 80x86. Macro facilities allow for 16/32/64 easily, and switching assemblers turns out not to be a big deal, once you decide to generate source code. NOTE: I don't think this approach is better then gForth's. It is different, and serves some purposes better, some worse. For sure you have more control. If you are to start on this way, I vehemently advocate FASM. It assembles itself (in a splitsecond), and it assembles its Windows incarnation on Linux, and its Linux incarnation on Windows without a glitch. It is fully self contained, an assembler written in portable assembler, not portable c. You can download and reassemble it yourself, in the time you need to get an idea about how to recompile nasm yourself or get its sources. > >For the terminal, I think GTK would be ideal. It runs on Windows, Mac >and Linux and could be used for graphic applications instead of being >text-only like most C Forths. Using gas even set me thinking. It is as easy to use GTK from gas as using GTK from a Forth interface. Is Forth an unstable middle ground between assembler and Visual Studio/Eclipse ? > >-Brad Groetjes Albert -- -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
Ideas for a portable Forth Brad <hwfwguy@gmail.com> - 2012-01-16 07:26 -0800
Re: Ideas for a portable Forth Tarkin <tarkin000@gmail.com> - 2012-01-16 10:32 -0800
Re: Ideas for a portable Forth Brad <hwfwguy@gmail.com> - 2012-01-17 06:44 -0800
Re: Ideas for a portable Forth "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-18 09:34 -0500
Re: Ideas for a portable Forth Mat <dambere@web.de> - 2012-01-18 12:09 -0800
Re: Ideas for a portable Forth Alex McDonald <blog@rivadpm.com> - 2012-01-18 14:57 -0800
Re: Ideas for a portable Forth "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-19 03:06 -0500
Re: Ideas for a portable Forth Alex McDonald <blog@rivadpm.com> - 2012-01-19 03:14 -0800
Re: Ideas for a portable Forth "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-19 17:33 -0500
Re: Ideas for a portable Forth stephenXXX@mpeforth.com (Stephen Pelc) - 2012-01-20 09:37 +0000
Re: Ideas for a portable Forth Alex McDonald <blog@rivadpm.com> - 2012-01-20 03:02 -0800
Re: Ideas for a portable Forth Alex McDonald <blog@rivadpm.com> - 2012-01-20 04:25 -0800
Re: Ideas for a portable Forth Mat <dambere@web.de> - 2012-01-21 07:42 -0800
Re: Ideas for a portable Forth "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-21 15:48 -0500
Re: Ideas for a portable Forth Alex McDonald <blog@rivadpm.com> - 2012-01-21 15:01 -0800
Re: Ideas for a portable Forth "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-21 21:14 -0500
Re: Ideas for a portable Forth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-01-16 22:42 +0000
Re: Ideas for a portable Forth "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-17 07:43 -0500
csiph-web