- C# 98%
- Python 2%
Favn #
Favn is a functional, statically typed programming language that compiles to C#.
- Source extension:
.favn - Language and compiler namespaces:
Favn.Language,Favn.Standard,Favn.Compiler - Solution:
Favn.slnx - Implementation:
src/Favn.Compiler/,src/Favn.Language/,src/Favn.Standard/ - Tests:
tests/Favn.Compiler.Tests/andtests/Favn.Language.Tests/ - Benchmarks:
benchmarks/Favn.Compiler.Benchmarks/
The compiler is being developed toward self-hosting. During this transition, the
original compiler in the sibling ../Bloom repository still acts as stage 0.
The stage-0 generator accepts .favn files directly alongside legacy .blm
files. Favn builds use the original .favn paths without intermediate copies.
The original stage-0 compiler currently requires the .NET 11 RC1 preview compiler; the newer RC2 C# compiler rejects some previously generated union patterns. On this development machine the matching SDK is installed privately at §~/.cache/bloomnext/sdk-rc1§. To build and test with that SDK:
export DOTNET_ROOT="$HOME/.cache/bloomnext/sdk-rc1"
export PATH="$DOTNET_ROOT:$PATH"
dotnet restore Favn.slnx
dotnet test Favn.slnx -c Release --no-restore
The historical benchmark baselines and task records retain their original Bloom identifiers where they describe older code and measurements. Those files are historical evidence, not the current language name.