Dynamic Compilation of Mathematical Expressions with Kotlin
summary
Describes a compromise approach in the KMath library for runtime evaluation of mathematical expressions: using a Kotlin DSL and custom algebraic abstractions to build an expression AST, then compiling that AST to JVM bytecode and other code representations. Focuses on the technologies Kotlin DSL, KMath, and JVM bytecode generation to avoid writing a full parser/interpreter or embedding a separate language compiler.
AI-written summary · about
