Goose  Diff

Differences From Artifact [2ebd2dac2d]:

  • File bs/empathy.cpp — part of check-in [193b15ade4] at 2018-10-25 20:12:34 on branch trunk — ir: pretty printing. (user: achavasse size: 317)

To Artifact [8cfd7c4465]:

  • File bs/empathy.cpp — part of check-in [aad87d1594] at 2018-10-25 20:20:14 on branch trunk — ir: pretty print: quote strings. (user: achavasse size: 319)

1
2
3
4
5
6
7
8
9
10

11
12
13
14
1
2
3
4
5
6
7
8
9

10
11
12
13
14









-
+




#include "ir/ir.h"

using namespace std;
using namespace empathy;
using namespace empathy::util;

int main( int argc, char** argv )
{
    // Just a dumping place for simple test code for now.
    auto gg = TVEC( TSID( foo ), TSID( bar ), TVAR( T ) );
    auto gg = TVEC( TSID( foo ), TSTR( "bar" ), TVAR( T ) );
    ir::ToString( cout, gg ) << endl;

    return EXIT_SUCCESS;
}