Relicense BabelTrace library to MIT (BSD-style)

Change BabelTrace licensing from LGPLv2.1 to MIT license.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add autotools build

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Build fix

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add CTF metadata lexer/parser (lex/yacc)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cleanup parser code

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Make CTF metadata parser reentrant

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Check specifically for bison

Yacc is not reentrant. Bison is deployed on enough maintainer systems nowadays
that it should not be a problem to depend directly on it.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Compile fixes for 64-bit

Reported by Francis Giraldeau.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add source file headers to CTF lexer/parser

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
struct name cleanup in preparation for AST + warning removal

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cleanup parser code, add some node IDs to AST

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
debug printing: cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CTF metadata: AST nodes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
AST: basic node structure + reparent operation

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
AST generation

Build tested, not runtime tested yet.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix root scope for parser/lexer type info

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
update ctf metadata test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add XML dump visitor

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CTF AST: debug linked-list manipulations

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CTF AST: tmp_head list fixes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>