Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Boring for most of you, but I'm having fun ... :) Date: Fri, 01 Jan 2016 15:53:49 -0800 Organization: A noiseless patient Spider Lines: 10 Message-ID: <87k2nseu0i.fsf@jester.gateway.pace.com> References: <5387d185-d7d1-47f1-ac16-824ec3f8896d@googlegroups.com> <56c7a56e-aa99-4ac1-bf6a-245b65e36411@googlegroups.com> <87y4cdojee.fsf@jester.gateway.pace.com> <871ta4lvfo.fsf@jester.gateway.pace.com> <1p3w2eoyc6g96.1pfwq74dqwbex$.dlg@40tude.net> <2015Dec31.153422@mips.complang.tuwien.ac.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="560a36ee31cc4bcf69e115b311f0cc5c"; logging-data="27720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nY9D/ZnAU02mG/o9x2tJ5" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:+DAY7jgdX/3l+k5CMg1d37uYhPQ= sha1:MULy70fNjVWAlq48hgbat4N0wNE= Xref: csiph.com comp.lang.forth:44513 Bernd Paysan writes: > Also, embedded systems like Mecrisp do similar things, mostly to make > VARIABLE possible if you compile to flash (CREATE in that case is only > useful for constant data). Wait, do you mean CREATE FOO 20 CELLS ALLOT in Mecrisp doesn't allocate a 20-cell ram vector? There are some words that switch the compilation target between ram and flash, so maybe that's the workaround. It slightly complicates writing code portable between ANS and Mecrisp though.