u3: corrects a couple more comments

This commit is contained in:
Joe Bryan 2020-10-02 14:44:57 -07:00
parent 236dd0b894
commit e314d070ea
2 changed files with 7 additions and 7 deletions

View File

@ -1064,7 +1064,7 @@ _ca_take_atom(u3a_atom* old_u)
return new;
}
/* _ca_take_cell(): reallocate a cell atom off the stack.
/* _ca_take_cell(): reallocate a cell off the stack.
*/
static inline u3_cell
_ca_take_cell(u3a_cell* old_u, u3_noun hed, u3_noun tel)

View File

@ -221,12 +221,12 @@ u3r_mean(u3_noun som, ...)
// stack frame for tracking noun comparison and unification
//
// we always comparing arbitrary nouns in a none-frame.
// when we compare two cells, we change the none-frame to a
// head-frame and push a new none-frame for the heads.
// if the heads are equal, the head-frame has the context to
// unify their head pointers. we then repeat with the tails,
// mutatis mutandis.
// we always compare arbitrary nouns in a none-frame.
// when we compare two cells, we change the none-frame to a head-frame
// and push a new none-frame for their heads. if the heads are equal,
// we get the cells from the head-frame and unify their head pointers.
// then, we convert the head-frame to a tail-frame and repeat with
// the tails, mutatis mutandis.
//
// in Hoon, this structure would be:
//