[rust-dev] trans refactor

2011-07-07 Thread Lindsey Kuper
The translation-to-LLVM pass in rustc, affectionately known as 'trans', has grown to over 9000 lines and is overdue for a refactor. A few days ago, I volunteered to take this on, and we've been discussing how and when to go about it. It's been suggested that we start by splitting trans into tw

Re: [rust-dev] trans refactor

2011-07-14 Thread Graydon Hoare
On 11-07-07 10:17 AM, Lindsey Kuper wrote: It's been suggested that we start by splitting trans into two pieces. The first would be, more or less, all the trans_X() functions where 'X' is recognizably something in the AST, and the second would be everything else: support functions, glue, LLV