unlogic
Loading...
Searching...
No Matches
Unlogic

A math JIT compiler and graph generator.

Examples

JIT-Compiling and Running a Function

++
auto program = *compiler.Compile("given f(x) := x^2; plot f;");
program(&scene);
bf::DefineNonTerminal< G, std::unique_ptr< Node > > program
Definition Parser.cpp:191
std::expected< Program, CompilationError > Compile(std::string_view program_text, std::vector< bf::Token< ParserGrammarType > > *tokens=nullptr)
Definition Compiler.cpp:34
Library runtime
Library stdlib

Calculator

Use unlogic-calculator, a Qt/Vulkan-based GUI for unlogic to perform graph analysis.