nevalang / neva

🌊 Dataflow programming language with static types and implicit parallelism. Compiles to machine code and Go
https://nevalang.org
MIT License
124 stars 7 forks source link

Omit `net` keyword in components that do not have nodes. #528

Closed emil14 closed 8 months ago

emil14 commented 8 months ago

Instead of

component UserSender(sig any) (u User) {
    net {
        :sig -> ($user -> :u)
    }
}

Just do

component UserSender(sig any) (u User) {
  :sig -> ($user -> :u)
}
emil14 commented 8 months ago

Implemented in #532