Home | About | Partners | Contact Us

SourceForge Logo

Quick Links
Home
News
Status
Building XL
XL Mailing List

Understanding XL
Conceptual overview
XL examples
Inside XL
Concept Programming

In depth
Browse GIT
Bugs
SourceForge Info
Contact

Other projects
GNU Project
The Mozart Project

XLR: Extensible Language and Runtime

The art of turning ideas into code

XL, an extensible programming language, implements concept programming
If you want to know more, you should start here.

Redefined the tree information

Tuesday, February 9, 2010

The tree information is now extensible. All tree information must derive from the Info class. There are template members to access that information:

  • Get reads the information, e.g. tree->Get<SymbolInfo>()
  • Set sets the information associated to the tree
  • Purge removes any information of a given type
  • Exists checks if a given tree has information of a given type.

I also added a compile-time assert in compiler.cpp after being bitten once more by a change in the Tree class not propagating to the tree.

February 2010
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28
Jan  Mar


Copyright 2010 Christophe de Dinechin (Blog)
E-mail: XL Mailing List (polluted by spam, unfortunately)