Re: What is the structure of a namespace

2021-04-17 Thread polifemo
ok, I see how your understanding of the underlying machine informs your description of the tree structure. Being aware of lists as chains of cons cells is still not intuitive for me. But I'll practice this view, since I agree that your explanation is simpler and more deeply true. Thanks for

Re: What is the structure of a namespace

2021-04-17 Thread Alexander Burger
On Fri, Apr 16, 2021 at 03:13:10PM -0500, polifemo wrote: > OH! I think I'm getting it! > for example, 'simul is '(\~ ("permute" ("shuffle" ("flood" ("G" NIL "gen" > ... > Something that confused me was that first symbol, '\~. It is not a valid > picolisp symbol! Correct. The special symbol \~

Re: What is the structure of a namespace

2021-04-16 Thread polifemo
OH! I think I'm getting it! for example, 'simul is '(\~ ("permute" ("shuffle" ("flood" ("G" NIL "gen" ("DX" NIL "DY" ("FX") "FY" NIL "Col") "game" ("grid" ("Grid")) "west" ("east" ("East" ("disp")) "West")) "south" ("north" NIL "South") "border")) "subsets" ("samples"))) Something that confused

Re: What is the structure of a namespace

2021-04-16 Thread Alexander Burger
On Fri, Apr 16, 2021 at 02:12:08PM -0500, polifemo wrote: > So, I have another question: Is the 'pico tree namespace built the same way > as any namespace of any 'loaded file? like, (load '@lib/simul.l) populates > the 'simul symbol with the names defined inside the '@lib/simul.l file. Is > the

Re: What is the structure of a namespace

2021-04-16 Thread polifemo
ok, I kinda see. So, I have another question: Is the 'pico tree namespace built the same way as any namespace of any 'loaded file? like, (load '@lib/simul.l) populates the 'simul symbol with the names defined inside the '@lib/simul.l file. Is the process for creating the 'simul namespace the same

Re: What is the structure of a namespace

2021-04-16 Thread Alexander Burger
Hi polifemo, > I've realized that the 'pico namespace is a tree, but I can't figure out > which kind of tree. It does not seem fit with a binary tree structure. > > So, what's the structure of namespaces, and what's the algorithm for > organizing the symbols inside a namespace list? You are

What is the structure of a namespace

2021-04-16 Thread polifemo
I've realized that the 'pico namespace is a tree, but I can't figure out which kind of tree. It does not seem fit with a binary tree structure. So, what's the structure of namespaces, and what's the algorithm for organizing the symbols inside a namespace list?