nevalang / neva

🌊 Dataflow 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

Dynamic component creation #154

Closed emil14 closed 1 year ago

emil14 commented 1 year ago

It's impossible to create component dynamically at this point. The program structure is is static. There are specific cases of this problem like:

1) Makes impossible to program to modify itself (metaprogramming?) 2) Makes dynamic DI impossible 3) Makes impossible HOC pattern (and all kinds of higher-level passing FP-ish decorators stuff)


Related to #118 #155

emil14 commented 1 year ago

I think Nevalang is more like a static dataflow programming environment and modifying internal structure should not be simple. That's ok. There's already opened discussions about reflection and meta-programming so I'm going to close this one.

UPD: yes, go is also static typed and stuff but in dataflow data is just data and code is just code