3b38304838
artiq: Pass artiq builtins to NAC3 constructor
51b2eedce1
core: Add missing generic constant concrete type
d9b2baee5e
core: Remove debugging statement
d46893c2e1
artiq: Rename const_generic_dummy to const_generic_marker
983f080ea7
artiq: Implement handling for const generic variables
031e660f18
core: Initial implementation for const generics
b6dfcfcc38
core: Move some SymbolValue functions to symbol_resolver.rs
c93ad152d7
core: Codegen for ellipsis expression as NotImplemented
68b97347b1
core: Infer builtins name list using builtin declaration list
20607934a6
artiq: Implement handling for const generic variables
abdd7ebd3c
core: Initial implementation for const generics
Implement const-generics
When we implement module support, we will probably have to refactor this entire logic anyways, because none
, Option
and virtual
are all obtained this way. I assume we will do something like…
Implement const-generics
v8, v9: Split unrelated changes to other MRs, renamed _ConstGenericDummy
to _ConstGenericMarker
.
390b7cc5f4
artiq: Implement handling for const generic variables
d12e886bb8
core: Initial implementation for const generics
6e26c3abb7
artiq: Implement handling for const generic variables
3420d8d86c
core: Initial implementation for const generics
7088a2f3d5
core: Move some SymbolValue functions to symbol_resolver.rs
c17575199a
core: Codegen for ellipsis expression as NotImplemented
Simplify
get_builtins
to only return top-level built-in declarations
Use
{filename}:{row}:{col}
for location output
Implement const-generics
The intention is that _ConstGenericDummy
is from the ARTIQ library and used as a marker that the TypeVar
is to be treated as a const generic variable.
Implement const-generics
v7: Fixed some cases where codegen fails for ellipsis due to extraneous/missing terminators, removed all references to NonTypeVar