Is a domain-specific language for functional programming described through a graph structure.
This project in this moment is a finger practice. In German it is called Fingerübung
✌. It is for training purpose and for finding opportunities to improve the tooling around Langium.
The syntax is inspired by Haskell.
The name Bifrost
comes from the Norse mythology, where the term was the name of a bridge between Midgard (Earth) and Asgard, the realm of the gods.
- custom (generic) data types
- primitive types like
Integer
,Float
,String
andBoolean
- node types (made of sub
nodes
andlinks
, basically what you can understand as a function) - classes, instances, type constraints (Haskell way)
- visuals generator
- WebAssembly generator
It is a reoccurring problem for me: How to program the best without many keyboard interactions.
Currently, you can model Fibonacci and a generic Map function.
Look at this implementation of map
and how it could look as graph diagram:
Things in my head are:
- further validations
- Haskell classes and instances (type constraints)
- Monads
- Prelude nodes
- generators for
- creating initial layout
- creating a web assembly
- a mobile app for the graphical counter part