No description
Find a file
2021-04-17 23:32:37 +02:00
.github/workflows Adds support for negative basis elements and fixes wrong duals. 2021-04-17 23:32:37 +02:00
codegen Adds support for negative basis elements and fixes wrong duals. 2021-04-17 23:32:37 +02:00
src Implements debug, index and assign traits in Rust target. 2021-04-17 13:43:52 +02:00
.gitignore Implements code generator for Rust and GLSL. 2021-03-27 15:09:46 +01:00
Cargo.toml Adds support for negative basis elements and fixes wrong duals. 2021-04-17 23:32:37 +02:00
LICENSE Initial commit 2021-03-14 19:50:36 +01:00
README.md Adds docs badge [skip ci] 2021-04-04 16:49:47 +02:00

actions Docs crates.io

About

This repository allows you to describe geometric algebras with 1 to 16 generator elements and generate SIMD-ready, dependency-less libraries for them.

Architecture

  • DSL Parser: See examples
  • Algebra: Generates the multiplication tables
  • Compiler: Constructs an AST from the multiplication tables
  • Optimizer: Simplifies the AST
  • Legalizer: Inserts missing expressions in the AST
  • Emitter: Serializes the AST to source code