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

New logic std #626

Closed dorian3343 closed 1 month ago

dorian3343 commented 1 month ago

moved logic from core to logic added logic gate operators (AND,NOT,OR) you can implement any gate with a NAND so now all are possible in pure neva implented IsGreater and IsEven made Range work in reverse also (it would go on forever before) *added examples for all of these, modified copare values to showcase NOT

dorian3343 commented 1 month ago

I decided to remove the num_comparison example since IsEven got removed which made it pointless (we already have an example for If and Gt doesnt require one)