tinygo/compiler
Ayke van Laethem bb3d05169d
interp: add new compile-time package initialization interpreter
This interpreter currently complements the Go SSA level interpreter. It
may stay complementary or may be the only interpreter in the future.

This interpreter is experimental and not yet finished (there are known
bugs!) so it is disabled by default. It can be enabled by passing the
-initinterp flag.

The goal is to be able to run all initializations at compile time except
for the ones having side effects. This mostly works except perhaps for a
few edge cases.

In the future, this interpeter may be used to actually run regular Go
code, perhaps in a shell.
2018-11-04 18:40:51 +01:00
..
calls.go compiler, runtime: move defer notes to the runtime file 2018-11-01 11:42:04 +01:00
compiler.go interp: add new compile-time package initialization interpreter 2018-11-04 18:40:51 +01:00
map.go compiler: support comma-ok in map lookup 2018-10-20 17:54:16 +02:00
optimizer.go compiler: remove println statement 2018-10-29 18:18:23 +01:00
sizes.go compiler: refactor compiler into separate package 2018-09-22 20:32:28 +02:00