Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion why forth over lisp?

Path: g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Nick <3-nos...@temporary-address.org.uk>
Newsgroups: comp.lang.forth,comp.lang.lisp,comp.lang.c,comp.lang.scheme,comp.lang.postscript
Subject: Re: why forth over lisp?
Date: Fri, 27 Aug 2010 16:57:22 +0100
Lines: 27
Message-ID: <87bp8om4kd.fsf@temporary-address.org.uk>
References: <f4cc0c8d-7f99-47ea-8235-33dcab8c213c@g6g2000pro.googlegroups.com> <97ea7f26-11c5-4c65-8d75-c26f9d010b54@y11g2000yqm.googlegroups.com> <23040748-e6fc-4da9-b224-91f7e5431a5f@i13g2000yqd.googlegroups.com> <1fb0d4c5-28fb-4379-94f1-452c92eefed9@v8g2000yqe.googlegroups.com> <bce5a844-68cf-4adf-8ccb-fcd9b01b6cc6@v41g2000yqv.googlegroups.com> <cp6576ta78nkqsv9pbhf8srb4roc94g17u@4ax.com> <878w3xqdyx.fsf@temporary-address.org.uk> <8uu77614bpgl84vcorblkldbsqn3mf7kmc@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net /x6JR3JPdJ0Jgx6YuTHt+gqSwwKb/gtT56dsrNswX/pMqzYoiu
Cancel-Lock: sha1:Pge+5BhBzNxtWVZ5DmBoytRQ7FI= sha1:bahGTf0cRHxruov7OenHGlTmQpQ=
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

George Neuner <gneun...@comcast.net> writes:

> On Mon, 23 Aug 2010 21:19:18 +0100, Nick
> <3-nos...@temporary-address.org.uk> wrote:
>
>>George Neuner <gneun...@comcast.net> writes:
>>
>>> Lua 5 still is basically a stack machine - it's a variant of what's
>>> generally called a "deep access" stack, in which the machine can
>>> access "deep" stack elements directly.  Lua's variation does away with
>>> push/pop/etc. top-of-stack instructions.
>>
>>I find it hard to attach the term "stack" to something that doesn't have
>>"push/pop/etc". That is, to me, what makes it a stack rather than some
>>other sort of data structure.
>
> Well, its a stack of activation records rather than a stack of
> individual elements.

I've got absolutely no problem with that - but I'd say you push and pop
activation records on and off the stack.

I often push records onto stacks in C - linked lists of structures.
It's still a stack and it's still pushing and popping to me.
-- 
Online waterways route planner            | http://canalplan.eu
Plan trips, see photos, check facilities  | http://canalplan.org.uk