let rec raw_to_value = function
| Raw.String a -> StringValue a
| Raw.Int a -> IntValue a
| Raw.Float a -> FloatValue a
| Raw.List a -> List (List.map raw_to_value a)
| Raw.Tuple a -> SmallList (List.map raw_to_value a)
| Raw.Section a -> Module (List.map (fun (name,value) -> name, raw_to_value value) a)