Acerca de
Un lenguaje de programación de flujo de datos en el que los programas se expresan como grafos de paso de mensajes y todo se ejecuta en paralelo de forma predeterminada. Cuenta con tipado estático fuerte, compila a código máquina, interoper a con Go y admite programación visual mediante un editor de nodos. Además, es muy compatible con los LLM.
Lenguajes y entornos de ejecuciónWhat you can do
- Flow-Based Runtime - Everything runs in parallel by default
- Hybrid Programming (WIP) - Program in both text and a visual editor
- Powerful Compiler - Strict static types and machine code compilation
- Go Interop - Call Go code from Neva and vice versa for gradual adoption and reuse of the ecosystem
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- +2
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalNeva is a statically typed, compiled dataflow programming language.
Instead of writing step-by-step instructions, you create networks of nodes that exchange messages through ports.
Hello, World!
import {
fmt
runtime
}
def Main(start any) (stop any) {
println fmt.Println
panic runtime.Panic
---
:start -> 'Hello, World!' -> println:data
println:res -> :stop
println:err -> panic
}
This code imports fmt and runtime to use Println and Panic components, and defines Main with one input (start) and one output (stop). The two nodes are connected: when the program starts, 'Hello, World!' is sent to println; if printing fails, errors go to panic; after printing, the program ends.
Key Features
- Flow-Based Runtime - Everything runs in parallel by default
- Hybrid Programming (WIP) - Program in both text and a visual editor
- Powerful Compiler - Strict static types and machine code compilation
- Go Interop - Call Go code from Neva and vice versa for gradual adoption and reuse of the ecosystem
- Modern Language Design - errors as values, pattern matching, null safety, etc.
- And many more!
Architecture
Neva compiles to clean, dependency-free Go code using goroutines and channels for message passing. The Go compiler then produces optimized binaries for any supported platform.
flowchart LR
source_code-->compiler-->|go_code| go_compiler
subgraph compiler
parser-->analyzer-->backend
end
go_compiler-->machine_code
go_compiler-->wasm
Why?
- The control flow paradigm is well established, while dataflow is underrepresented.
- Existing visual tools lack the expressiveness of traditional languages.
- Many languages treat concurrency as an advanced feature, not the default.
- Not many languages compile to Go or interop with it, while it has a state-of-the-art runtime and standard library.
Contributing
- Join the Discord server or Telegram group
- Read the user documentation, developer documentation, AGENTS and CoC
- Support the project on Open Collective ❤️🔥
Community
Your support by donating to our open collective or joining us will show interest and motivate us to continue.
⭐️ Star History
Support
We’re exploring a future of programming that few dare to build. If you believe in this direction, backing us on Open Collective keeps the work alive: https://opencollective.com/nevalang
Also give us a star to increase our chances of getting into GitHub trends. The more developers we reach, the more likely we are to build this future together.
And tell the world about Neva! Every share helps us grow our community.
Explorar proyectos relacionados
Cargando…