Copied from Cgals and started adding the language part (AST) of the structured text