13 ms·
Oh you. Our codebase uses scala xml and macros; migration will be a major PITA.
by enlait 10y ago
Oh you. Our codebase uses scala xml and macros; migration will be a major PITA.
- pyrophane 10y agoBy the time this becomes an issue hopefully there will be a library that acts as a drop-in replacement for scala xml, at least.
- eugene_burmako 10y agoAuthor of Scala macros here. Here's a recent discussion on the future of macros in the brave new world of Dotty: https://www.reddit.com/r/scala/comments/4our5m/keynote_scalas_road_ahead_by_martin_odersky/d4gd439 https://www.reddit.com/r/scala/comments/4our5m/keynote_scala....
- merb 10y agoYou will want to rewrite your macro's soon.
- doikor 10y agoYou will most likely get a chance of upgrading your macros into scala.meta before dotty comes out. Also xml support as the scala-xml library will continue. Though as the xml literals are removed you have to use string interpolation (xml"<your><xml/>here</your>") which isn't as nice to use. (hopefully someone comes up with a nice DSL or something instead)