vergenzt / rtm-scala

Scala wrapper for the Remember the Milk API.
3 stars 0 forks source link

Use Scala macros + RTM reflection API to generate type-safe API at compile-time #5

Open vergenzt opened 8 years ago

vergenzt commented 8 years ago

Work on this is proceeding at branch meta. I'm very excited. :)

Also, development on this project is subsuming resolution of #4. Once this is finished the latest RTM API version will be available.

vergenzt commented 8 years ago

Basic overview:

(The project is split this way because macro compilation and macro application have to be in separate compilations--i.e., in Eclipse, the macro has to be in a different project than its usage. rtm-scala-lib is separate from rtm-scala because the macro needs to refer to it and circular dependencies are bad.)

My plan is to save output of the generated code in the repo with each published build for debugging purposes. Also since RTM's reflection API includes documentation, it'd be neat if some Scaladoc could be generated automatically--but we'll cross that bridge when we get to it.