Skip to content

ToruNiina/jitome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jitome

JIT-Optimized Math Expression

Example

#include <jitome.hpp>

int main()
{
    std::string func_body = "(a, b, c) {a + b * c}";

    jitome::JitCompiler<double(double, double, double)> func(func_body);

    std::cout << func(1.0, 2.0, 3.0) << std::endl; // prints 7

    return 0;
}

Prerequisites & Dependency

Syntax

See syntax.abnf.

Licensing terms

This product is licensed under the terms of the MIT License.

  • Copyright (c) 2021-now Toru Niina

All rights reserved.

About

JIT-Optimized Math Expression

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published