Re: Visibility inside a colon definition



On Mar 3, 5:53 am, Jonah Thomas <jethom...@xxxxxxxxx> wrote:
I took your proposal to mean
that a colon definition would have the header last, but that create,
constant etc wouldn't. That would create issues for tick.

I see! I didn't think of that.

So putting a header immediately after CREATE would be a big problem.

Yes, for it to be integrated, the only simply solutions involve a
separate namespace. That namespace can be in the same memory allocated
to the codespace, of course, but the headers would be built down from
the top end of the memory zone while code was building up from the
bottom.

Of course, if memory is tight, headers in a separate namespace do not
need to be linked together in a list, but can just be a sequence of
counted strings each followed by a value. If the tokens are limited to
a maximum of 31 characters, then even with 8-bit chars that allows
three bits for a mode-parameter to allow for eight different types of
entries into the namespace. Not throwing away four of those modes on a
SMUDGE bit means that the traditional four types of header ... normal
word, immediate word, and compile-only of both ... can be catered to
and four more remain available ... eg, for a namespace-only literal,
and for an anonymous namespace entries, where the mode and a count of
zero implies that the parameter cell follows immediately.

And, of course, if the mode is implemented by a vector of eight xt's,
that lends itself to a simple but context-sensitive compiler, where
one or two modes can be reserved for actions associated with the
wordlist that contains the word.
.



Relevant Pages

  • Re: Flat File Problem
    ... It was the namespace I was using to ... When I debug the orchestration the RecCount variable is null. ... Have you deployed the Biztalk Assembly that contains the property schema ... And you can promote properties from the Header into the message context, ...
    (microsoft.public.biztalk.general)
  • Re: namespace and c++ headers in wince
    ... I have used an external header and cpp file which uses namespace std ... Namespaces are fine with the compiler and your code is ...
    (microsoft.public.windowsce.app.development)
  • Re: Newbie and seventy-two-bie, please help.
    ... are using or bring the names into the global namespace. ... Prefer putting each declaration on its own line and adding a comment for ... definition goes into a header file called for example pool.h and rest goes ... mainalways returns an int. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: location of using, include, and namespaces statement
    ... > directive now apply to the client's source file, too, if he ever ... > And would it help or hurt to put the 'using' directives inside ... your'e quite right - if namespace pollution is a concern [I suppose it ... > the header when you're not looking. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Problem with ASP on Webserver
    ... Entrek's TOOLBOX is a lot better for memory stuff. ... the script we sometimes ... (Accept-Language:) ...
    (microsoft.public.windowsce.platbuilder)

Loading