whitequark
|
a5bb4a24af
|
compiler: support short form of raise.
Fixes #240.
|
2016-05-10 01:41:40 +00:00 |
|
whitequark
|
4e5d752951
|
compiler: fix quoting of methods (fixes #423).
|
2016-05-09 12:25:57 +00:00 |
|
whitequark
|
1464bae6b7
|
compiler: don't typecheck RPCs except for return type.
Fixes #260.
|
2016-04-26 01:12:36 +00:00 |
|
whitequark
|
1038f1321f
|
compiler: allow specifying per-function "fast-math" flags.
Fixes #351.
|
2016-03-28 21:44:08 +00:00 |
|
whitequark
|
186a564ba8
|
compiler: make quoted functions independent of outer environment.
|
2016-03-26 20:46:45 +00:00 |
|
whitequark
|
82ab21dbd5
|
transforms.inferencer: better message for BinOpT unification.
Fixes #311.
|
2016-03-18 01:22:01 +00:00 |
|
whitequark
|
bc81be1345
|
Implement dumb 'with parallel' (#265).
|
2016-02-22 13:51:08 +00:00 |
|
whitequark
|
51a5910002
|
Rename 'with parallel' to 'with interleave' (#265).
|
2016-02-22 13:24:43 +00:00 |
|
whitequark
|
1465fe6f81
|
Add channel name as the first argument to rtio_log (#206).
|
2016-02-15 21:17:54 +00:00 |
|
whitequark
|
74a75841f6
|
Add rtio_log() and make print() an RPC (#206).
|
2016-02-15 03:56:56 +00:00 |
|
whitequark
|
3573a8750a
|
transforms.inferencer: give a suggestion on "raise Exception".
|
2016-01-20 03:20:25 +00:00 |
|
whitequark
|
cc22837627
|
transforms.inferencer: infer a monomorphic type for slice ":"
|
2016-01-16 03:09:03 +00:00 |
|
whitequark
|
e8bba0a7d6
|
Commit missing parts of 6a6d7d.
|
2016-01-05 04:21:46 +00:00 |
|
whitequark
|
dfbf55fed2
|
transforms/inferencer: add support for user-defined context manager.
|
2016-01-05 00:11:03 +08:00 |
|
whitequark
|
5baf18ba0d
|
transforms.inferencer: factor out _unify_attribute.
|
2016-01-04 22:13:05 +08:00 |
|
whitequark
|
05fa80818a
|
transforms.inferencer: make sure parallel/sequential is lone manager.
|
2016-01-04 21:26:03 +08:00 |
|
whitequark
|
8aa34ee952
|
compiler: don't require exceptions to inherit ARTIQException.
|
2015-12-31 21:54:54 +08:00 |
|
whitequark
|
5dcf936f4e
|
transforms.inferencer: don't crash on partially-inferred binary expressions.
|
2015-12-30 15:46:54 +08:00 |
|
whitequark
|
95af6daa28
|
transforms.inferencer: accept round(width=n) form (#198).
|
2015-12-20 01:02:57 +08:00 |
|
whitequark
|
7b3ace2e30
|
transforms.inferencer: fix unsupported decorator diagnostic when embedding.
decorator.loc points to the quoted object with a synthesized location,
and it's not really worth refactoring when we can just point at the @.
|
2015-12-18 22:58:17 +08:00 |
|
whitequark
|
f8eaeaa43f
|
compiler: explicitly represent loops in IR.
|
2015-12-16 15:33:26 +08:00 |
|
whitequark
|
2d906daf7f
|
compiler: implement 'with watchdog' support.
|
2015-12-10 23:11:00 +08:00 |
|
whitequark
|
4888e897b9
|
compiler: refactor to use builtins.TInt{32,64}. (NFC)
|
2015-12-10 23:06:23 +08:00 |
|
whitequark
|
3ec9b677b2
|
Revert "transforms.artiq_ir_generator: treat builtins in 'with' syntactically."
This reverts commit ccc993071b .
|
2015-12-10 22:25:15 +08:00 |
|
whitequark
|
ccc993071b
|
transforms.artiq_ir_generator: treat builtins in 'with' syntactically.
|
2015-12-10 21:29:16 +08:00 |
|
whitequark
|
8cb2215edb
|
transforms.inferencer: only instantiate RPC function types, not regular.
|
2015-12-02 21:48:14 +08:00 |
|
whitequark
|
16ae0fb6eb
|
compiler.embedding: instantiate RPC method types (fixes #180).
|
2015-11-27 16:29:13 +08:00 |
|
whitequark
|
eefa9e2ea6
|
transforms.inferencer: fix typo.
|
2015-11-17 00:02:15 +03:00 |
|
whitequark
|
867a0689ad
|
transforms.Inferencer: narrow range() element type.
|
2015-09-02 17:55:48 -06:00 |
|
whitequark
|
b971cc8cdf
|
compiler.{iodelay,transforms.iodelay_estimator}: implement.
|
2015-09-02 17:55:48 -06:00 |
|
whitequark
|
501ba912c2
|
Implement {delay,now,at}{,_mu} and {mu,seconds}_to_{seconds,mu}.
|
2015-08-31 09:59:33 -06:00 |
|
whitequark
|
83ebb999c8
|
transforms.Inferencer: improve attribute unification diagnostic.
|
2015-08-28 03:23:15 -05:00 |
|
whitequark
|
c21387dc09
|
compiler.embedding: support calling methods marked as @kernel.
|
2015-08-27 19:46:50 -05:00 |
|
whitequark
|
cb225269ff
|
Allow accessing attributes of embedded host objects.
|
2015-08-27 05:01:04 -05:00 |
|
whitequark
|
51c591f01a
|
Unbreak tests.
|
2015-08-18 22:44:09 -07:00 |
|
whitequark
|
6c8de9b6d4
|
Implement methods.
|
2015-08-18 22:39:22 -07:00 |
|
whitequark
|
94a2d5f5fa
|
Implement class attribute access through instances.
|
2015-08-15 11:07:54 -04:00 |
|
whitequark
|
00efc8c636
|
Implement class definitions and class attribute access.
|
2015-08-15 09:45:16 -04:00 |
|
whitequark
|
786fde827a
|
Unbreak tests.
|
2015-08-11 00:41:31 +03:00 |
|
whitequark
|
b28a874274
|
Inferencer: range() does not accept a float argument.
|
2015-08-10 17:06:55 +03:00 |
|
whitequark
|
f53a5ff202
|
Remove syscall builtin.
|
2015-08-10 16:44:29 +03:00 |
|
whitequark
|
ee3f35c608
|
Improve error message on passing an argument twice.
|
2015-08-08 21:06:13 +03:00 |
|
whitequark
|
a7633f75c7
|
Show origin of expansion in diagnostics for synthesized code.
|
2015-08-07 13:56:18 +03:00 |
|
whitequark
|
1a969aa9e4
|
compiler.transforms.inferencer: accept and ignore @kernel decorator.
|
2015-08-07 07:54:35 +03:00 |
|
whitequark
|
2939d4f0f3
|
Add tests for finally clause and reraising.
|
2015-07-27 12:36:21 +03:00 |
|
whitequark
|
ece52062f2
|
Implement code generation for exception handling.
|
2015-07-25 05:37:37 +03:00 |
|
whitequark
|
de181e0cb9
|
Revert "Require boolean operand in BoolOp."
This reverts commit 5d518dcec6 .
|
2015-07-22 18:35:18 +03:00 |
|
whitequark
|
51aef980a0
|
Revert "Require boolean condition in If, While, IfExp."
This reverts commit e21829ce74 .
|
2015-07-22 18:35:14 +03:00 |
|
whitequark
|
f2a6110cc4
|
Add integration tests for every language construct.
|
2015-07-22 18:34:52 +03:00 |
|
whitequark
|
236d5b886a
|
Add support for Assert.
|
2015-07-22 02:58:59 +03:00 |
|