artiq/artiq/compiler
whitequark 5a79fcf9ba embedding: reimplement 373578bc properly.
The core of the problem that 373578bc was attempting to solve is
that diagnostics sometimes should be chained; one way of chaining
is the loc.expanded_from feature, which handles macro-like expansion,
but another is providing context.

Before this commit, context was provided using an ad-hoc override
of a diagnostic engine, which did not work in cases where diagnostic
engine was not threaded through the call stack. This commit uses
the newly added pythonparser context feature to elegantly handle
the problem.
2016-07-07 11:49:21 +00:00
..
algorithms compiler: do not associate SSA values with iodelay even when inlining. 2015-12-25 15:02:33 +08:00
analyses compiler: implement kernel constant attributes. 2016-03-27 16:10:07 +00:00
testbench compiler: make kernel_invariant an instance, not class, property. 2016-04-29 13:06:11 +00:00
transforms compiler: implement numpy.full (#424). 2016-07-07 06:33:38 +00:00
validators compiler: don't typecheck RPCs except for return type. 2016-04-26 01:12:36 +00:00
__init__.py compiler: pull in dependencies in more finely grained way (fixes #181). 2015-11-24 17:32:04 +08:00
asttyped.py compiler: allow specifying per-function "fast-math" flags. 2016-03-28 21:44:08 +00:00
builtins.py compiler: implement numpy.full (#424). 2016-07-07 06:33:38 +00:00
embedding.py embedding: reimplement 373578bc properly. 2016-07-07 11:49:21 +00:00
iodelay.py compiler.iodelay: correctly fold max(0, [0, ]...). 2015-11-24 00:46:55 +08:00
ir.py compiler: don't typecheck RPCs except for return type. 2016-04-26 01:12:36 +00:00
module.py embedding: refactor some more. 2016-05-16 14:38:09 +00:00
prelude.py compiler: add basic numpy array support (#424). 2016-07-06 09:51:57 +00:00
targets.py compiler: demangle symbols. 2016-05-16 14:38:09 +00:00
types.py compiler: add basic numpy array support (#424). 2016-07-06 09:51:57 +00:00