support constants in modules #41

Closed
opened 2021-10-02 23:50:29 +08:00 by sb10q · 0 comments

We should be able to do:

ms = 1e-3

@kernel
class Demo:
    @kernel
    def run(self):
       core = Core()
       core.delay(100*ms)

We should be able to do: ```python ms = 1e-3 @kernel class Demo: @kernel def run(self): core = Core() core.delay(100*ms) ```
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#41
There is no content yet.