Goose  Diff

Differences From Artifact [7c3dfab396]:

  • File bs/ir/tostring.h — part of check-in [afb316dee6] at 2018-11-11 20:11:57 on branch trunk —
    • Remove Or term, they just complicate term/term pattern matching because they can generate multiple solutions and aren't actually useful.
    • Implemented Match for term/term.
    (user: achavasse size: 522)

To 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)

1
2
3
4
5
6
7

8
9
10
11

12
13
14
15
16
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19







+




+






#ifndef EMPATHY_IR_TOSTRING_H
#define EMPATHY_IR_TOSTRING_H

namespace empathy::ir
{
    class Vector;
    class Term;
    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