Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #3540
| Newsgroups | comp.lang.forth |
|---|---|
| From | Albert van der Horst <albert@spenarnc.xs4all.nl> |
| Subject | Re: colorForth markup tags |
| Date | 2011-06-25 10:21 +0000 |
| Message-ID | <lnccr6.464@spenarnc.xs4all.nl> (permalink) |
| Organization | Dutch Forth Workshop |
| References | <49a14599-c042-4540-9c78-c5790d60b0a7@v11g2000prk.googlegroups.com> |
In article <49a14599-c042-4540-9c78-c5790d60b0a7@v11g2000prk.googlegroups.com>, Brad <hwfwguy@gmail.com> wrote: >I would like to represent Forth source as tagged strings rather than >blank-delimited strings, kind of the way colorForth does. But I want >to do it in a such a way that a HTML browser can read it. > >The source is still essentially colorForth, but its source encoding >isn't Chuck's compact binary. The interpreter would simply skip over >tags that don't make sense. I could put in anchors, hyperlinks, >graphics, etc. for documentation purposes and not disturb the source. Assuming at some point you want to run the code, I think this is overly ambitious. You don't want to put all that effort into a moving target. (What we have here now.) Using .cfs sources works as follows: You have ASCII sources (.cfs) equivalent to colorforth by prefixes gvim handles prefixes giving the illusion of seeing in colorforth, so there: at least one main stream editor to comfortably edit colorforth source You can transform the source into blocks. You can combine those blocks with a main system (patched to suit) You can than run the main system Whenever GreenArrays comes out with a new main system, you have to patch it again. Then you have to debug your interface. Even with this minimal system we didn't manage to find the time to do the patch again with the latest system GreenArrays releases. You don't expect the changes to be documented at the programmers level, do you? I estimate that you're better off, just rewriting colorforth in C without the Huffman encoding and weird keyboards. I'm serious. (Of course if you're just looking for a really demanding challenge, be my guest!) Leon is currently writing a simulator for F18 to replace Green Arrays' . That is also challenging, but at least it is not a moving target. >-Brad -- -- 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 | Find similar | Unroll thread
colorForth markup tags Brad <hwfwguy@gmail.com> - 2011-06-23 10:12 -0700
Re: colorForth markup tags Mux <spam_catcher123@hotmail.com> - 2011-06-23 14:15 -0700
Re: colorForth markup tags John Passaniti <john.passaniti@gmail.com> - 2011-06-24 16:17 -0700
Re: colorForth markup tags Brad <hwfwguy@gmail.com> - 2011-06-27 09:53 -0700
Re: colorForth markup tags Jean-François Michaud <cometaj@comcast.net> - 2011-06-23 15:01 -0700
Re: colorForth markup tags Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-06-24 10:23 +0000
Re: colorForth markup tags Mark Wills <markrobertwills@yahoo.co.uk> - 2011-06-25 01:35 -0700
Re: colorForth markup tags John Passaniti <john.passaniti@gmail.com> - 2011-06-25 12:45 -0700
Re: colorForth markup tags Paul Rubin <no.email@nospam.invalid> - 2011-06-25 13:26 -0700
Re: colorForth markup tags John Passaniti <john.passaniti@gmail.com> - 2011-06-27 07:39 -0700
Re: colorForth markup tags Chris Hinsley <chris.hinsley@gmail.com> - 2011-06-27 16:24 +0100
Re: colorForth markup tags Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-06-25 10:21 +0000
csiph-web