Skip to content
プロジェクト

概要

メッセージパッシングのグラフとしてプログラムを記述するデータフロープログラミング言語です。すべてがデフォルトで並列実行されます。強い静的型付けを備え、機械語にコンパイルでき、Goと相互運用できるほか、ノードエディターによるビジュアルプログラミングにも対応しています。LLMとの相性も非常に良好です。

言語・ランタイム

この数値の測り方

できること

  • 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

計測したスター増加

24時間
0
7日間
0
15日間
+1
1か月
+2

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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

関連プロジェクトを探す

読み込み中…