Skip to content

Gabrieljoseg/BRust-GABC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BRust-GABC 🎵

Brazilian Rust GABC - Uma biblioteca Rust de alta performance para renderização de Canto Gregoriano em notação quadrada.

Visão Geral

BRust-GABC é um port em Rust da biblioteca JavaScript Exsurge, otimizada para uso com Flutter Web via WebAssembly (WASM).

Características

  • 🚀 Alta Performance - Escrita em Rust puro, sem garbage collector
  • 🌐 Flutter Ready - Compila para WASM para uso em Flutter Web
  • 📝 GABC Completo - Suporta toda a notação GABC
  • 🎨 SVG Output - Gera SVG vetorial de alta qualidade

Estrutura do Projeto

BRust-GABC/
├── crates/
│   ├── brust-core/      # Tipos fundamentais (geometria, pitch)
│   ├── brust-gabc/      # Parser GABC
│   ├── brust-chant/     # Modelo de domínio (notas, neumas)
│   ├── brust-layout/    # Motor de layout
│   ├── brust-svg/       # Geração SVG
│   └── brust-wasm/      # Bindings WebAssembly
└── examples/            # Exemplos de uso

Uso com Flutter

import 'package:brust_gabc/brust_gabc.dart';

final gabc = "(f3) Ky(f)ri(gh)e(h) e(g)lé(ghg)i(f)son.(f)";
final svg = BrustGabc.renderToSvg(gabc, width: 800);

Build

# Compilar biblioteca nativa
cargo build --release

# Compilar para WebAssembly
wasm-pack build crates/brust-wasm --target web

Licença

MIT License - Veja LICENSE

About

A Rust library for rendering Gregorian Chant in square note notation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors