We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e2945 commit 5b7a890Copy full SHA for 5b7a890
README.md
@@ -0,0 +1,27 @@
1
+# ExprCpp
2
+Same as `std.Expr()`, but takes arbitrary C++ functions instead of MaskTools RPN expressions.
3
+
4
+## Example
5
+```
6
+user_func = '''
7
+int func(int x, int y) {
8
+ return x/4 + y/4;
9
+}
10
+'''
11
+clip00 = core.endill.expr_cpp(clip00, clip00, user_func)
12
13
14
+## Building Prerequsites for Linux
15
+* Compiler with C++17 support
16
+* CMake 3.16.3+
17
+* LLVM 10 (`llvm-10-dev`)
18
+* Clang 10 (`libclang-cpp10-dev`)
19
20
+mkdir build
21
+cd build
22
+cmake ..
23
+cmake --build .
24
25
26
+## Building for Windows
27
+Only as a part of LLVM build, because Windows distibution of LLVM doesn't expose C++ interface.
0 commit comments