IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Well, sounds like a good match
After all, I've heard that both APL & FORTH are "write-once" languages.

What I'd like right now would be a real time high level scripting language (interpreter) that could fit in ~8K/8K (code/data -- with no libraries, of course). The real time / high level part could be accomplished with care (especially in regards to garbage collection, if used), but the size part won't happen. The smallest scripting language I'd consider using, Lua, is still something like 100K and Ficl (FORTH-inspired command language) is about the same.

Tony
New Re: Well, sounds like a good match
[link|http://www.tinyboot.com/|http://www.tinyboot.com/]

Here is a general purpose firmware system based in FORTH. Links to other resources (of course you probably know these).

I can't imagine a scripting system simpler than FORTH, in terms of necessary resources.
-drl
New I remember reading lots about FORTH.
On a TI-99/4a. The user group had some FORTH enthusiasts.

It required a disk system, alas (I couldn't afford one), as it was disk-sector-oriented; each sector being a page of code. It effectively was it's own OS, but then that wasn't unusual on home computers of that era.

Wade.

Microsoft are clearly boiling the frogs.

New Re: I remember reading lots about FORTH.
Right - FORTH code came in fixed block sizes that corresponded to physical disk sectors :). A block was called a "screen". If the blocksize is 1024, that's just 16 lines of 64 columns. The editor loaded a screen at a time.

Now this is great for embedded systems - your ROM is just a bunch of screens. It's so simple it's stupid.
-drl
New FORTH & embedded systems
FORTH was originally created as a language for controlling astronomical telescopes, and is still used for that purpose (and for a while after the high profile QX-10 fiasco, not for much else), so it should work well for embedded systems.
[link|http://www.aaxnet.com|AAx]
New Thanks, it looks interesting
I'm really looking for a system for a Analog Devices 2181 DSP, so I'd have to look at porting issues, although someone has already done a FORTH implementation for the 2181.

I'm not a big fan of the FORTH syntax, but right now it does look like the only option for a truly tiny interpreter (well, I suppose I could do a TinyBASIC....but I think I'd rather program in FORTH).

Another issue is that I would want the language to be able to call compiled C routines; scripting languages such as Lua, Ficl, Python, Tk, etc excel at this. I'm not sure how easy it is in standard FORTH.

So at a first glance it looks promising; I'll have to dig into the details to see if I would really make sense for my current device.

Tony
New Re: Thanks, it looks interesting
Calling C is trivial if you understand the calling convention, can do your own fixups, etc. etc. You prepare the stack and go. You can hand link but most FORTHs of any richness do all this for you - see for example [link|http://www.tinyboot.com/appc.html|http://www.tinyboot.com/appc.html].

Also in general:

[link|http://www.equi4.com/minotaur/minotaur.html|http://www.equi4.com...aur/minotaur.html]
-drl
     The Perfect Operating System - (deSitter) - (18)
         Forth based operating system, huh? - (Andrew Grygus) - (9)
             Well, sounds like a good match - (tonytib) - (6)
                 Re: Well, sounds like a good match - (deSitter) - (5)
                     I remember reading lots about FORTH. - (static) - (2)
                         Re: I remember reading lots about FORTH. - (deSitter) - (1)
                             FORTH & embedded systems - (Andrew Grygus)
                     Thanks, it looks interesting - (tonytib) - (1)
                         Re: Thanks, it looks interesting - (deSitter)
             Ahhh.. is *THAT* what QX-10 was about !? - (Ashton) - (1)
                 FORTH took the rap. - (Andrew Grygus)
         Oh, GRREEEAATT! - (jb4) - (7)
             Re: Oh, GRREEEAATT! - (deSitter) - (6)
                 Re: Oh, GRREEEAATT! - (hnick)
                 Well, I didn't really wnt to go there, but ... - (jb4) - (4)
                     Re: "use the ASCII character set" - (a6l6e6x) - (3)
                         Yes...well, um...er,...*coff*... - (jb4) - (2)
                             Sigh - when things were interesting... - (deSitter) - (1)
                                 Yes, I remember this cover! - (jb4)

Here come the witnesses.
47 ms