nevalang / neva

🌊 Flow-based programming language with static types and implicit parallelism. Compiles to native code and Go
https://nevalang.org
MIT License
85 stars 7 forks source link

Move Lock to sync #657

Open emil14 opened 1 month ago

emil14 commented 1 month ago

Language should be good enough so user can avoid explicit locks most of the time. That's the reason

OTOH compiler now only aware of builtin pkg. that will change it.

However, maybe that's need to be changed? How about this

Compiler doesn't know about stdlib directly but instead has some interface that stdlib implements

We could pass directly to analyzer and desugarer exactly what we need