forked from M-Labs/artiq
1
0
Fork 0
Commit Graph

1062 Commits

Author SHA1 Message Date
whitequark df686136f1 Separate inference and asttyped transformation.
This allows to run inference several times on the same tree,
as would be necessary when coercion nodes are added.
2015-06-11 06:34:26 +03:00
whitequark e18ea0daae Better error reporting for List. 2015-06-11 04:36:52 +03:00
whitequark 4b7d4c2425 Add support for BoolOp. 2015-06-11 04:36:51 +03:00
whitequark b8ce3f85bd Refactor error reporting in _unify to factor out custom notes. 2015-06-11 04:36:28 +03:00
whitequark ba9a7d087d Add support for IfExp. 2015-06-11 04:36:03 +03:00
whitequark 9953302cb6 Move old py2llvm code to artiq/py2llvm_old. 2015-06-11 02:58:29 +03:00
whitequark 159692339d Add tests for all diagnostics and unifications. 2015-06-06 18:05:06 +03:00
whitequark a8ff9d0152 AugAssign does not create a binding. 2015-06-06 17:55:04 +03:00
whitequark 98fe152159 Add lit-based tests for diagnostics. 2015-06-06 17:15:06 +03:00
whitequark 7f77632f1a Add lit-based tests for type inferencer. 2015-06-06 16:58:23 +03:00
whitequark 5f06c6af10 Add support for Return. 2015-06-06 15:12:56 +03:00
whitequark d08598fa0f Add support for NameConstant. 2015-06-06 15:12:40 +03:00
whitequark eb76f594a0 Replace single-quoted strings with double-quoted. 2015-06-05 12:04:27 +03:00
whitequark 6c3b5a95ee Use proper format function. 2015-06-04 17:53:38 +03:00
whitequark 4b01e604db Make unification reflective. 2015-06-04 14:50:32 +03:00
whitequark 1a08b50f0a Use a single type printer for inference errors.
This way, type variable names will be consistent among all
printed diagnostics.
2015-06-04 14:50:32 +03:00
whitequark c9623a106e Error out on unsupported expressions by default. 2015-06-04 14:50:32 +03:00
whitequark 10a269d77e Better error message for List inference. 2015-06-04 14:42:45 +03:00
whitequark 995d84d4ee Add inferencing for Tuple, List, For. 2015-06-04 14:13:49 +03:00
whitequark 76ce364fea Implement inferencing for AugAssign. 2015-06-04 11:52:15 +03:00
whitequark f979a76c7c Require nonlocal names to be bound in an outer scope. 2015-05-30 08:06:19 +03:00
whitequark 56d1a9bc57 Shorten the unification error message when too redundant. 2015-05-29 10:01:22 +03:00
whitequark abbc87e981 Add new type inferencer. 2015-05-29 09:53:24 +03:00
whitequark 74080f2cc6 Update .gitignore. 2015-05-29 09:53:00 +03:00
whitequark c75fd6bc88 Replace builtin ast with pythonparser.ast. 2015-05-27 17:04:18 +03:00
Sebastien Bourdeauducq f30d671359 test/worker: adapt to priority API 2015-05-24 23:38:05 +08:00
Sebastien Bourdeauducq 5fb86af3a4 gui: support experiment cancellation 2015-05-24 23:20:52 +08:00
Sebastien Bourdeauducq ae4615281f pyon/store_file: replace previous file atomically 2015-05-24 21:26:15 +08:00
Sebastien Bourdeauducq fc449509b8 scheduler: pass priority to experiments 2015-05-24 20:37:47 +08:00
Sebastien Bourdeauducq e611e17eeb gui: experiment submission 2015-05-24 20:24:07 +08:00
Sebastien Bourdeauducq a21373841c scheduler: catch worker exceptions in prepare and analyze stages 2015-05-24 20:23:49 +08:00
Sebastien Bourdeauducq d6ced1c780 scheduler: support priorities 2015-05-24 01:09:22 +08:00
Sebastien Bourdeauducq 2f910921f5 gui: console -> log 2015-05-24 00:38:30 +08:00
Sebastien Bourdeauducq d9c25130e3 gui: add explorer widgets 2015-05-23 01:25:33 +08:00
Yann Sionneau 82ec931003 conda: add pyqtgraph+quamash dependencies/recipes and remove gbulb and cairoplot3 2015-05-22 17:35:21 +02:00
Sebastien Bourdeauducq 2570444941 gui: add empty explorer and console docks 2015-05-22 23:30:46 +08:00
Sebastien Bourdeauducq cff999f259 doc: update mock modules 2015-05-22 22:39:26 +08:00
Yann Sionneau d78a275655 pxi6733: use a method as DoneEvent callback 2015-05-22 16:08:07 +02:00
Sebastien Bourdeauducq ea53ed1af7 gui: switch to Qt 2015-05-22 17:06:31 +08:00
Yann Sionneau c91cd0ab38 pxi6733: use a writeable and c_contiguous numpy ndarray 2015-05-21 18:05:32 +02:00
Yann Sionneau 1e393f5c70 setup.py: add missing comma 2015-05-21 17:11:45 +02:00
Sebastien Bourdeauducq 785623be26 test/worker: adapt to new scheduler API 2015-05-21 16:41:45 +08:00
Sebastien Bourdeauducq a670b9f660 tools/asyncio_wait_or_cancel: wait for cancellation 2015-05-21 16:41:27 +08:00
Sebastien Bourdeauducq 6c35d066fc runtime: add missing include 2015-05-21 12:00:48 +08:00
Yann Sionneau 1530f9f457 travis: generate kc705 and pipistrello binaries in container env 2015-05-21 00:19:06 +08:00
Sebastien Bourdeauducq d8917fd94f Merge branch 'master' of github.com:m-labs/artiq 2015-05-17 16:11:16 +08:00
Sebastien Bourdeauducq b74b8d5826 Scheduling TNG 2015-05-17 16:11:00 +08:00
Yann Sionneau e9b166b199 artiq_flash.sh: some cleanup 2015-05-14 11:12:03 +02:00
Sebastien Bourdeauducq e557d7e2df Merge branch 'master' of github.com:m-labs/artiq 2015-05-14 00:16:27 +08:00
Sebastien Bourdeauducq cbb5027343 gateware/ad9858: use WaitTimer from Migen 2015-05-14 00:16:15 +08:00