Skip to content
Projets

À propos

Un langage de programmation de flux de données où les programmes sont écrits sous forme de graphes échangeant des messages, et où tout s’exécute par défaut en parallèle. Il offre un typage statique fort, se compile en code machine, interopère avec Go et prend en charge la programmation visuelle grâce à un éditeur de nœuds. Il est également particulièrement adapté aux LLM.

Langages et environnements d’exécution

Comment ces chiffres sont mesurés

What 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

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
+2

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original
Nevalang logo

Neva Programming Language

Back Neva on Open Collective

Tests CI Linting CI Go Report GitHub closed issues Discord OS License: MIT

Neva 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?

  1. The control flow paradigm is well established, while dataflow is underrepresented.
  2. Existing visual tools lack the expressiveness of traditional languages.
  3. Many languages treat concurrency as an advanced feature, not the default.
  4. Not many languages compile to Go or interop with it, while it has a state-of-the-art runtime and standard library.

Contributing

  1. Join the Discord server or Telegram group
  2. Read the user documentation, developer documentation, AGENTS and CoC
  3. 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.

Open Collective Discord Telegram Reddit Twitter

⭐️ 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.

GitHub Star

And tell the world about Neva! Every share helps us grow our community.

share on x share on facebook share on reddit share on telegram share on whatsapp share on hackernews share on linkedin

Explorer des projets similaires

Chargement…