feat: add De Bruijn index reduction engine #27
Reference in New Issue
Block a user
Delete Branch "feat/debruijn-engine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
-iflag to select interpreter (lambda or debruijn)Implementation Details
De Bruijn Package
Engine Abstraction
Engineinterface withRun()andGetResult()methodsLambdaEngine: Original named variable implementationDeBruijnEngine: New index-based implementationConversion Functions
LambdaToDeBruijn: Converts named lambda expressions to De Bruijn indicesDeBruijnToLambda: Converts De Bruijn indices back to named expressionsSaccharineToDeBruijn: Direct conversion from saccharine syntax to De BruijnTesting
Test Plan
-i debruijn)Closes #26
Pull request closed