Andrew Kelley 7e58c56ca7 self-hosted: implement Decl lookup
* Take advantage of coercing anonymous struct literals to struct types.
 * Reworks Module to favor Zig source as the primary use case.
   Breaks ZIR compilation, which will have to be restored in a future commit.
 * Decl uses src_index rather then src, pointing to an AST Decl node
   index, or ZIR Module Decl index, rather than a byte offset.
 * ZIR instructions have an `analyzed_inst` field instead of Module
   having a hash table.
 * Module.Fn loses the `fn_type` field since it is redundant with
   its `owner_decl` `TypedValue` type.
 * Implement Type and Value copying. A ZIR Const instruction's TypedValue
   is copied to the Decl arena during analysis, which allows freeing the
   ZIR text instructions post-analysis.
 * Don't flush the ELF file if there are compilation errors.
 * Function return types allow arbitrarily complex expressions.
 * AST->ZIR for function calls and return statements.
2020-06-18 17:12:56 -04:00
..
2020-06-12 13:33:31 -04:00
2020-04-28 19:11:31 -06:00
2020-04-28 19:11:31 -06:00
2020-05-06 17:08:49 +05:00
2020-06-09 13:36:17 -04:00
2020-05-24 10:04:09 -04:00
2020-06-09 00:17:22 -04:00
2020-06-07 22:39:35 +10:00
2020-06-18 17:12:56 -04:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2020-01-29 22:22:01 -06:00
2020-06-02 14:56:19 -04:00
2020-05-25 19:46:28 -04:00
2020-06-09 13:36:17 -04:00
2020-02-16 13:25:30 -05:00
2020-06-09 13:36:17 -04:00
2020-05-29 18:30:09 -04:00
2019-10-11 18:13:24 -04:00
2020-06-09 00:22:34 -04:00
2019-09-25 23:35:41 -04:00
2020-06-09 13:36:17 -04:00
2020-06-15 23:51:25 +10:00
2020-05-24 10:04:09 -04:00
2020-02-22 12:44:21 +01:00
2020-05-01 06:47:20 -04:00
2020-06-12 13:33:31 -04:00
2020-06-09 13:36:17 -04:00
2020-06-09 13:36:17 -04:00
2020-05-05 09:38:02 -06:00
2020-05-26 21:34:55 -07:00
2020-06-01 14:43:13 -04:00
2020-06-18 17:12:56 -04:00