Goose  Diff

Differences From Artifact [88f8acbe1e]:

  • File bs/ir/tostring.h — part of check-in [3acca150d3] at 2019-01-23 13:48:31 on branch trunk — ir, lexer: defined a new term type for block delimiters. (user: achavasse size: 614)

To Artifact [c14b55ad6e]:

  • File bs/ir/tostring.h — part of check-in [a742f106d4] at 2019-03-23 13:08:49 on branch trunk —
    • ir: terms can now contain a pointer to another term, for situations where a mutable terms needs to be shared by multiple expressions.
    • func: use a term pointer to store the function's content, so that we can distinguish a not-yet-parsed function from a non evaluated function value.
    (user: achavasse size: 682)

8
9
10
11
12
13
14

15
16
17
18
19
    enum class Delimiter;

    extern ostream& ToString( ostream& out, const uint64_t& x );
    extern ostream& ToString( ostream& out, const string& x );
    extern ostream& ToString( ostream& out, const StringId& x );
    extern ostream& ToString( ostream& out, const Delimiter& x );
    extern ostream& ToString( ostream& out, const ptr< void >& x );

    extern ostream& ToString( ostream& out, const ptr< Vector >& v );
    extern ostream& ToString( ostream& out, const Term& t );
}

#endif







>





8
9
10
11
12
13
14
15
16
17
18
19
20
    enum class Delimiter;

    extern ostream& ToString( ostream& out, const uint64_t& x );
    extern ostream& ToString( ostream& out, const string& x );
    extern ostream& ToString( ostream& out, const StringId& x );
    extern ostream& ToString( ostream& out, const Delimiter& x );
    extern ostream& ToString( ostream& out, const ptr< void >& x );
    extern ostream& ToString( ostream& out, const ptr< Term >& x );
    extern ostream& ToString( ostream& out, const ptr< Vector >& v );
    extern ostream& ToString( ostream& out, const Term& t );
}

#endif