1 This is my xaml compiler, being written as part of Google's summer of code
4 Xaml is a language for concisely describing how to connect up a bunch of
5 objects. As an example, in the avalon world:
10 Would produce a child of Window where the constructor does this:
12 Button button = new Button();
13 window.AddChild(button);
14 button.AddText("Click");
16 Except of course it can handle trees of arbitrary depth, so descriptions of
17 complicated GUIs are not a problem and potentially much more readable than
21 cd ../../class/WindowsBase
23 cd ../PresentationFramework
28 That will get everything compiled. There's a demo in the mcs/tools/xamlc/demo
29 directory; to run it, cd into that directory and do "make run". Stuff should
30 happen, along the lines of a program test.exe being generated and run to
39 I say I say: INPUTINPUT
50 Hopefully you can work out how that is produced from the test.xaml file.
52 In the same directory, "make run2" should demonstrate the runtime creation of
53 objects from xaml files.